maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien HENRY (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNGSITE-44) Wrong informations in Guide to Working with Manifests
Date Wed, 02 Apr 2008 04:32:58 GMT

    [ http://jira.codehaus.org/browse/MNGSITE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129422#action_129422
] 

Julien HENRY commented on MNGSITE-44:
-------------------------------------

Looking at your sample project I understand my error.

I was using:
{code:xml} 			
<configuration>
	<archive>
		<manifestEntries>
			<mainClass>
				com.sample.Main
			</mainClass>
		</manifestEntries>
	</archive>
</configuration>
{code} 

instead of:
{code:xml} 
<configuration>
	<archive>
		<manifest>
			<mainClass>
				com.sample.Main
			</mainClass>
		</manifest>
	</archive>
</configuration>
{code}

So the userguide is correct. Sorry for the inconvenience. 

> 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
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>         Attachments: MNGSITE-44.zip, test-jar.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