maven-issues mailing list archives

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


Benjamin Bentmann updated MNGSITE-44:


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

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message