dca00 opened a new issue, #9663: URL: https://github.com/apache/netbeans/issues/9663
### Apache NetBeans version Apache NetBeans 31 ### What happened If the main class' project is renamed, the old name remains in the POM.xml <mainClass> element. ### Language / Project Type / NetBeans Component Java Maven ### How to reproduce Create a Java Maven project. Build the JAR. It will run successfully. Refactor the main package by renaming. The JAR will fail to run by not finding the main class. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux ### JDK 21 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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
