PR: MPUBERJAR-4

add uberjar.bundle property for dependencies


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-04-10 03:17:22 +00:00
parent e75055e5b2
commit 07024cc0e6
2 changed files with 8 additions and 3 deletions

View File

@ -21,6 +21,7 @@
<project
xmlns:j="jelly:core"
xmlns:velocity="jelly:velocity"
xmlns:ant="jelly:ant"
xmlns:artifact="artifact">
<!--==================================================================-->
@ -73,9 +74,12 @@
<!-- Copy each dep to our working dir -->
<j:forEach var="lib" items="${pom.artifacts}">
<copy
todir="${libdir}"
file="${lib.path}"/>
<j:set var="dep" value="${lib.dependency}"/>
<j:if test="${dep.getProperty('uberjar.bundle')!='false'}">
<j:if test="${dep.type =='jar'}">
<ant:copy todir="${libdir}" file="${lib.path}"/>
</j:if>
</j:if>
</j:forEach>
<!-- Copy the classworlds.jar -->

View File

@ -26,6 +26,7 @@
<body>
<release version="1.2-SNAPSHOT" date="in CVS">
<action dev="brett" type="update" due-to="Tryve Laugstol" issue="MPUBERJAR-2">Upgrade to classworlds RC2</action>
<action dev="brett" type="add" due-to="Joerg Schaible" issue="MPUBERJAR-4">Add uberjar.bundle property to dependencies to allow exclusion of certain JAR files</action>
</release>
<release version="1.1" date="2003-09-29">