You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2004/02/26 14:14:43 UTC

cvs commit: avalon-excalibur/component maven.xml project.xml

niclas      2004/02/26 05:14:43

  Modified:    component maven.xml project.xml
  Log:
  Added a postGoal to generate the excalibur-testcases Jar.
  
  Revision  Changes    Path
  1.5       +25 -1     avalon-excalibur/component/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/component/maven.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- maven.xml	25 Feb 2004 21:15:53 -0000	1.4
  +++ maven.xml	26 Feb 2004 13:14:43 -0000	1.5
  @@ -16,7 +16,7 @@
   limitations under the License.
   -->
   
  -<project default="java:jar"
  +<project default="jar:install"
       xmlns:j="jelly:core"
       xmlns:ant="jelly:ant">
   
  @@ -37,4 +37,28 @@
               </fileset>
           </copy>
       </postGoal>
  +    
  +    <postGoal name="jar:jar">
  +      <ant:jar jarFile="${maven.build.dir}/excalibur-testcases-${pom.currentVersion}.jar" >
  +        <fileset dir="${basedir}/target/test-classes" />
  +      </ant:jar>
  +
  +    </postGoal>
  +    
  +    <postGoal name="jar:install" >
  +      <ant:echo>
  +      id = 'excalibur-testcases'
  +      groupId = ''
  +      artifactDirectory = 'excalibur-testcases'
  +      </ant:echo>
  +
  +      <ant:property name="jardir__" value="${maven.repo.local}/excalibur-testcases/jars"/>
  +      <ant:mkdir dir="${jardir__}"/>    
  +      <ant:copy 
  +      file="${maven.build.dir}/excalibur-testcases-${pom.currentVersion}.jar"
  +      todir="${jardir__}"
  +      overwrite="true"
  +      />
  +    </postGoal>
  +
   </project>
  
  
  
  1.6       +3 -8      avalon-excalibur/component/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/component/project.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- project.xml	25 Feb 2004 21:02:00 -0000	1.5
  +++ project.xml	26 Feb 2004 13:14:43 -0000	1.6
  @@ -49,18 +49,13 @@
           </dependency>
           <dependency>
               <id>excalibur-instrument</id>
  -            <version>1.0</version>
  +            <version>1.2</version>
               <groupId>excalibur-instrument</groupId>
           </dependency>
           <dependency>
               <id>excalibur-instrument-manager</id>
  -            <version>1.0</version>
  -            <groupId>excalibur-instrument</groupId>
  -        </dependency>
  -        <dependency>
  -            <id>excalibur-instrument-manager-interfaces</id>
  -            <version>1.0</version>
  -            <groupId>excalibur-instrument</groupId>
  +            <version>1.2</version>
  +            <groupId>excalibur-instrument-manager</groupId>
           </dependency>
           <dependency>
               <id>excalibur-pool</id>
  
  
  

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