Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1562

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1562
    Summary: Using maven.jar.manifest.classpath.add=true from maven console 
gives huge Class-Path
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0.2

   Assignee: 
   Reporter: Niklas Gustavsson

    Created: Fri, 4 Feb 2005 5:13 AM
    Updated: Fri, 4 Feb 2005 5:13 AM

Description:
When running maven console on a JAR where the manifest classpath is set using 
maven.jar.manifest.classpath.add=true, the classpath string is not reset 
between runs. So, if running the jar goal multiple times, the Class-Path 
attribute will be getting longer and longer, containing multiple copies of the 
classpath.

This patch of plugin.jelly in maven-jar-plugin:
  <j:set var="jarClasspath" value="${maven.jar.manifest.classpath.add}"/>
+ <j:set var="maven.jar.classpath" value=""/>
  <j:if test="${jarClasspath}">

fixes the problem but I'm unsure if it will affect something else.




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to