avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin maven.xml
Date Tue, 04 Nov 2003 01:15:43 GMT
mcconnell    2003/11/03 17:15:43

  Modified:    merlin   maven.xml
  Log:
  Add a signature generator for every package.
  
  Revision  Changes    Path
  1.6       +21 -0     avalon/merlin/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/maven.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- maven.xml	3 Nov 2003 18:54:18 -0000	1.5
  +++ maven.xml	4 Nov 2003 01:15:43 -0000	1.6
  @@ -1,5 +1,7 @@
   <project default="merlin:build" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util"
xmlns:ant="jelly:ant">
   
  +  <maven:snapshot project="${pom}"/>
  +
     <ant:property name="merlin.bootstrap.jar" value="merlin-bootstrap-1.0.jar"/>
     <ant:property name="merlin.plugin.jar" value="merlin-plugin-1.1-SNAPSHOT.jar"/>
     <ant:property name="meta.plugin.jar" value="avalon-meta-plugin-1.2-SNAPSHOT.jar"/>
  @@ -383,5 +385,24 @@
     <goal name="merlin-dist" prereqs="merlin:install"/>
     <goal name="merlin-site" prereqs="merlin:site"/>
     <goal name="merlin-libs" prereqs="merlin:update"/>
  +
  +  <!--
  +  Write a build signature for each package.
  +  -->
  +
  +  <preGoal name="java:compile">
  +    <ant:echo message="Build: ${snapshotSignature}"/>
  +    <ant:echo file="${maven.build.dir}/classes/${pom.artifactId}.build">
  +#
  +# Artifact build descriptor.
  +# 
  +
  +build.group = ${pom.groupId}
  +build.name = ${pom.artifactId}
  +build.version = ${pom.currentVersion}
  +build.signature = ${snapshotSignature}
  +
  +</ant:echo>
  +  </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