Open ingomohr opened 2 hours ago
I also tried this w/ <destination>${project.build.directory}/jpackage-build</destination>
(in case folder "jpackage" is some magic folder in the implementation). Same effect.
It works with <destination>jpackage-build</destination>
- i.e. apparently as long I don't use something inside the target folder, the build successfully finishes, and I can run that build.
Problem is that mvn clean
won't delete that destination folder because it's not in target
.
Scenario
GIVEN I am on Windows 10 with Java 21 and Wix3 installed GIVEN I want to use
--type app-image
in thejpackage
call, so that I don't get an installer but the app folder instead WHEN I use<type>APP_IMAGE</type>
in my plugin configuration WHEN I callmvn clean package
and thenmvn jpackage:jpackage
THEN the build (after 1 minute or so) aborts with error messageExit code: 1 - java.io.IOException: Cannot access file with path exceeding 32000 characters
AND
C:\Users\myUserName\git\hello-jpackage\target\jpackage\hello-jpackage\app\jpackage\hello-jpackage\app\jpackage...
My Configuration in pom.xml