Hi all,
I was just wondering, is Netbeans supposed to fill out the main
attribute in MANIFEST.MF that goes to the jar file, when building Maven
project?
At the moment it doesn't do it, which means that the resulting jar can't
be executed just by
$ java -jar App.jar
I would expect Netbeans to set the main attribute when setting the main
class either in the Project properties or when it asks you the very fist
time you run the application in the IDE.
Is there a reason why Netbeans doesn't do it?
Thanks
Vlad