maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gustavo Orair (JIRA)" <>
Subject [jira] Commented: (MACR-3) Maven site should has an example with adding Main Class
Date Mon, 07 Nov 2011 12:57:51 GMT


Gustavo Orair commented on MACR-3:

notice that the apparently some documentation looks like deplicated.
However, it is necessary because the section "Make The Jar Executable" called which explains
how to specify a Main-Class is targeted just to jar package type. Since, the appclient jar
type was created, we need instruct how to specify the Main-Class also to appclient type. 
Maybe, the archiver doc may include a section for appclient modules.

> Maven site should has an example with adding Main Class
> -------------------------------------------------------
>                 Key: MACR-3
>                 URL:
>             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 (
> 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
> 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:

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message