maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNGSITE-44) Wrong informations in Guide to Working with Manifests
Date Tue, 01 Apr 2008 20:14:58 GMT

     [ http://jira.codehaus.org/browse/MNGSITE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann updated MNGSITE-44:
-------------------------------------

    Attachment: MNGSITE-44.zip

I just tried it with Maven 2.0.8 and couldn't find a problem with the guide, {{mainClass}}
is working, see the attached mini project. Besides, the method {{AbstractConfigurationConverter.fromXML()}}
that gets called by Plexus when pushing your configuration into the mojo will just convert
"Main-Class" to "mainClass" so you could have specified this in the first place, too.

Maybe you had a typo somewhere. If the problem persists, please attach a demo project to demonstrate
this.



> Wrong informations in Guide to Working with Manifests
> -----------------------------------------------------
>
>                 Key: MNGSITE-44
>                 URL: http://jira.codehaus.org/browse/MNGSITE-44
>             Project: Maven 2 Project Web Site
>          Issue Type: Bug
>         Environment: Windows XP
> Jar plugin 2.2
>            Reporter: Julien HENRY
>            Priority: Minor
>         Attachments: MNGSITE-44.zip
>
>
> Hi,
> In the guide, it is said that you should add 
> <manifest>
>               <mainClass>com.mycompany.app.App</mainClass>
> ...
> to have your JAR running fine.
> But for me it was wrong. I had to add:
> <manifest>
>               <Main-Class>com.mycompany.app.App</Main-Class>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message