You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:46:06 UTC
[jira] [Closed] (MACR-3) Maven site should has an example with
adding Main Class
[ https://issues.apache.org/jira/browse/MACR-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MACR-3.
-----------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> Maven site should has an example with adding Main Class
> -------------------------------------------------------
>
> Key: MACR-3
> URL: https://issues.apache.org/jira/browse/MACR-3
> Project: Maven ACR Plugin
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Gustavo Orair
>
> Maven ACR plugin should confirm if the resulting Manifest contain a setting for Main-Class, because The Java EE spec requires that app clients specify the main class (http://www.java.net/forum/topic/glassfish/glassfish/problems-using-java-web-start-application-client-libraries-not-found).
> If Manifest does not contain Main-Class a warning should be emitted.
> Also, It would be very valuable if some examples specifying Main-Class are added to the site http://maven.apache.org/plugins/maven-acr-plugin/.
> In actual configuration, users tend to create application clients without Main-Class and may get strange errors while trying to launch the application client. One example of these errors, may be accessed in:
> http://www.java.net/forum/topic/glassfish/glassfish/problems-using-java-web-start-application-client-libraries-not-found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)