Uploaded image for project: 'Maven ACR Plugin'
  1. Maven ACR Plugin
  2. MACR-3

Maven site should have an example of adding Main Class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 1.0
    • None

    Description

      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 worth if there were working examples specifying Main-Class added to the site http://maven.apache.org/plugins/maven-acr-plugin/.

      Presently, 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            orair Gustavo Orair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: