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
{{ message }}
Repository navigation
The refactoring of a package that contains the main class is not propagated to POM.xml #9663
If the main class' project is renamed, the old name remains in the POM.xml 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.
Activity
mbien commentedon Oct 7, 2026
You sure? How did the main class attribute make it into the manifest?