-
Notifications
You must be signed in to change notification settings - Fork 65
Description
When JLink is enabled in the plugin,
other projects that depend on the project using JLink fail to build.
It seems that the jar/class files are not provided to the subproject, but instead only a zip file is generated, for example:
/Users/floriankirmaier/projects/playground/javafx-jlink-subproject-bug/app/target/app.zip
I have created an example project that demonstrates this problem:
https://github.com/FlorianKirmaier/javafx-plugin-maven-bug-subprojects-jlink
In the example, using the plugin without JLink works fine. But enabling JLink causes the build to fail.
This is reflected in the profiles -Pworks and -Pfails.
Example run:
https://github.com/FlorianKirmaier/javafx-plugin-maven-bug-subprojects-jlink/actions/runs/18041859390/job/51342659443
Normally, enabling JLink should not break the ability for other projects to depend on the project using JLink.