[ http://jira.codehaus.org/browse/MJAR-41?page=all ]
Emmanuel Venisse closed MJAR-41.
--------------------------------
Assignee: Emmanuel Venisse
Resolution: Fixed
Fix Version/s: 2.1
Applied. Thanks
> Cannot specify additional classpath entries in jar manifest when using
> addClasspath
> -----------------------------------------------------------------------------------
>
> Key: MJAR-41
> URL: http://jira.codehaus.org/browse/MJAR-41
> Project: Maven 2.x Jar Plugin
> Issue Type: Bug
> Affects Versions: 2.0, 2.1
> Environment: Maven 2.0.4, maven-jar-plugin 2.0 and 2.1-SNAPSHOT, JDK
> 1.5.0_06, Windows XP
> Reporter: Fredrik Vraalsen
> Assigned To: Emmanuel Venisse
> Fix For: 2.1
>
> Attachments: MJAR-41.patch
>
>
> The plugin configuration snippet below leads to the generation of an illegal
> jar manifest file, as it contains two Class-Path entries. This works in
> Maven 1.1b2 by adding the following to project.properties:
> maven.jar.manifest.classpath.add=true
> maven.jar.classpath=help/ resources/
> For more information, please see
> http://www.nabble.com/classpath-in-jar-manifest-t1582724.html
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> </manifest>
> <manifestEntries>
> <Class-Path>help/ resources/</Class-Path>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
--
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