mbien commented on issue #9194: URL: https://github.com/apache/netbeans/issues/9194#issuecomment-4285253795
NetBeans uses the exec maven plugin to run regular java applications. If a maven project uses a different plugin, the properties window might not be able to edit the run config. I believe the JavaFX doc still recommends the `javafx-maven-plugin` which the templates also uses: https://github.com/openjfx/javafx-maven-plugin#javafxrun-options to add JVM args, simply open the pom.xml and add an `<options>` tag ```xml <plugin> <groupId>org.openjfx</groupId> <artifactId>javafx-maven-plugin</artifactId> <version>0.0.8</version> <configuration> <mainClass>test.mavenproject3.App</mainClass> <options>-ea</options> <!-- enables assertions --> </configuration> <!-- ... --> </plugin> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
