geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/maven-plugin plugin.jelly
Date Thu, 09 Sep 2004 00:50:52 GMT
djencks     2004/09/08 17:50:52

  Modified:    modules/maven-plugin plugin.jelly
  Log:
  should now copy exactly what you want to the geronimo repo
  
  Revision  Changes    Path
  1.8       +5 -1      incubator-geronimo/modules/maven-plugin/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/maven-plugin/plugin.jelly,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- plugin.jelly	7 Sep 2004 18:36:21 -0000	1.7
  +++ plugin.jelly	9 Sep 2004 00:50:52 -0000	1.8
  @@ -65,13 +65,17 @@
               <!--copy stuff for this project into new geronimo repository-->
               <ant:copy todir="${targetDir}/repository">
                   <ant:fileset dir="${maven.repo.local}">
  +                    <j:set var="docopy" value="false"/>
                       <j:forEach var="artifact" items="${pom.artifacts}">
                           <j:set var="dependency" value="${artifact.dependency}"/>
                           <j:if test="${dependency.getProperty('repository') == 'true'}">
  +                            <j:set var="docopy" value="true"/>
                               <ant:include name="${dependency.getArtifactDirectory()}/${dependency.getType()}s/${dependency.getArtifact()}"/>
                           </j:if>
                       </j:forEach>
  -                    <ant:exclude name="**/*"/>
  +                    <j:if test="${docopy == false}">
  +                        <ant:exclude name="**/*"/>
  +                    </j:if>
                   </ant:fileset>
               </ant:copy>
               <!-- this version doesn't seem to work. Why not?-->
  
  
  

Mime
View raw message