avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/repository/main maven.xml
Date Thu, 20 Nov 2003 22:43:44 GMT
mcconnell    2003/11/20 14:43:44

  Modified:    repository/main maven.xml
  Log:
  Housekeeping.
  
  Revision  Changes    Path
  1.4       +17 -11    avalon-sandbox/repository/main/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/repository/main/maven.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- maven.xml	17 Nov 2003 16:51:53 -0000	1.3
  +++ maven.xml	20 Nov 2003 22:43:44 -0000	1.4
  @@ -1,8 +1,24 @@
   <project default="jar:install" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util"
xmlns:ant="jelly:ant">
   
  +  <postGoal name="java:prepare-filesystem">
  +    <attainGoal name="avalon:artifact"/>
  +  </postGoal>
  +
  +  <preGoal name="jar:jar">
  +    <j:forEach var="dep" items="${pom.dependencies}">
  +      <j:if test="${dep.getType()=='jar'}">
  +        <j:if test="${dep.getId() != 'avalon-repository:avalon-repository-impl'}">
  +          <unzip src="${pom.getDependencyPath( dep.getId() )}" 
  +            dest="${maven.build.dir}/classes"
  +            excludes="/META-INF/**"/>
  +        </j:if>
  +      </j:if>
  +    </j:forEach>
  +  </preGoal>
  +
     <!--
     ###########################################################################
  -  # Create the .impl metadata.                                               #
  +  # Create the .meta target metadata.                                              #
     # This contains the information used by the factory to identify the       #
     # the implementation artifact classpath, factory, and whever else         #
     # we need to include this jar as the implementation strategy.             #
  @@ -50,15 +66,5 @@
       <ant:copy toDir="${maven.repo.local}/${pom.groupId}" 
          file="${maven.build.dir}/classes/${pom.groupId}/${pom.artifactId}.meta"/>
     </postGoal>
  -
  -  <preGoal name="jar:jar">
  -    <j:forEach var="dep" items="${pom.dependencies}">
  -      <j:if test="${dep.getId() != 'avalon-repository:avalon-repository-impl'}">
  -        <unzip src="${pom.getDependencyPath( dep.getId() )}" 
  -          dest="${maven.build.dir}/classes"
  -          excludes="/META-INF/**"/>
  -      </j:if>
  -    </j:forEach>
  -  </preGoal>
   
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message