brett       2004/04/09 20:17:22

  Modified:    uberjar  plugin.jelly
               uberjar/xdocs changes.xml
  Log:
  PR: MPUBERJAR-4
  add uberjar.bundle property for dependencies
  
  Revision  Changes    Path
  1.11      +7 -3      maven-plugins/uberjar/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/uberjar/plugin.jelly,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- plugin.jelly      10 Apr 2004 03:01:41 -0000      1.10
  +++ plugin.jelly      10 Apr 2004 03:17:22 -0000      1.11
  @@ -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 -->
  
  
  
  1.9       +1 -0      maven-plugins/uberjar/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/uberjar/xdocs/changes.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- changes.xml       10 Apr 2004 03:01:41 -0000      1.8
  +++ changes.xml       10 Apr 2004 03:17:22 -0000      1.9
  @@ -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">
  
  
  

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

Reply via email to