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:
parent
e75055e5b2
commit
07024cc0e6
@ -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 -->
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user