You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multi-module maven project. One submodule (myappname-app) is the only place the plugin is mentioned. And yet, I get the below error when Maven processes and parent POM instead of the module's POM when using only the javafx:run goal.
Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.8:run (default-cli) on project appModule: The parameters 'mainClass' for goal org.openjfx:javafx-maven-plugin:0.0.8:run are missing or invalid.
It's like it's applying this config at the wrong level instead of the sub-module. Do I need to add a specific GOAL setting?
I have a multi-module maven project. One submodule (myappname-app) is the only place the plugin is mentioned. And yet, I get the below error when Maven processes and parent POM instead of the module's POM when using only the javafx:run goal.
Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.8:run (default-cli) on project appModule: The parameters 'mainClass' for goal org.openjfx:javafx-maven-plugin:0.0.8:run are missing or invalid.
It's like it's applying this config at the wrong level instead of the sub-module. Do I need to add a specific GOAL setting?
Config from sub-module POM, not the parent POM:
<plugin> <groupId>org.openjfx</groupId> <artifactId>javafx-maven-plugin</artifactId> <configuration> <jlinkExecutable>/Library/Java/JavaVirtualMachines/jdk-22.0.1.jdk/Contents/Home/bin/jlink</jlinkExecutable> </configuration> <executions> <execution> <id>default-cli</id> <configuration> <mainClass>appModuleName/a.b.c.d.App</mainClass> <options> <option>--add-opens</option> <option>java.base/java.lang=a.b.c.d</option> </options> </configuration> </execution> </executions> </plugin>
The text was updated successfully, but these errors were encountered: