PR: MPJAR-46

Using maven.jar.manifest.classpath.add=true from maven console gives huge Class-Path


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@393045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-04-10 20:17:23 +00:00
parent bb1da5713a
commit fec185c263
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@
<j:set var="jarClasspath" value="${maven.jar.manifest.classpath.add}"/> <j:set var="jarClasspath" value="${maven.jar.manifest.classpath.add}"/>
<j:if test="${jarClasspath}"> <j:if test="${jarClasspath}">
<j:remove var="maven.jar.classpath"/>
<j:forEach var="dep" items="${pom.dependencies}"> <j:forEach var="dep" items="${pom.dependencies}">
<j:if test="${dep.getProperty('jar.manifest.classpath')=='true'}"> <j:if test="${dep.getProperty('jar.manifest.classpath')=='true'}">
<j:set var="maven.jar.classpath" value="${maven.jar.classpath} ${dep.artifact}" /> <j:set var="maven.jar.classpath" value="${maven.jar.classpath} ${dep.artifact}" />

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.8-SNAPSHOT" date="In SVN"> <release version="1.8-SNAPSHOT" date="In SVN">
<action dev="ltheussl" type="fix" issue="MPJAR-46">Using <code>maven.jar.manifest.classpath.add=true</code> from maven console gives huge Class-Path.</action>
<action dev="ltheussl" type="add" issue="MPJAR-15" due-to="Matt Finn">Include <code>Implementation-Vendor-Id</code> attribute for dependencies in manifest.</action> <action dev="ltheussl" type="add" issue="MPJAR-15" due-to="Matt Finn">Include <code>Implementation-Vendor-Id</code> attribute for dependencies in manifest.</action>
<action dev="ltheussl" type="add" issue="MPJAR-39">Support specificationVersion in manifest.</action> <action dev="ltheussl" type="add" issue="MPJAR-39">Support specificationVersion in manifest.</action>
<action dev="ltheussl" type="fix"> <action dev="ltheussl" type="fix">