commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly maven.xml
Date Wed, 11 Dec 2002 20:01:37 GMT
jstrachan    2002/12/11 12:01:37

  Modified:    jelly    maven.xml
  Log:
  Added some catch-all post goals that should work whatever version of Maven folks are using
  
  Revision  Changes    Path
  1.48      +25 -22    jakarta-commons-sandbox/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/maven.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- maven.xml	21 Nov 2002 12:41:23 -0000	1.47
  +++ maven.xml	11 Dec 2002 20:01:37 -0000	1.48
  @@ -16,22 +16,7 @@
       </taskdef>    
   
     </goal>
  -    
   
  -  <!-- copies unit testing stuff -->
  -  <postGoal name="test:compile">
  -    <copy todir="target/test-classes">
  -      <fileset dir="src/test">
  -        <include name="**/*.properties"/>
  -        <include name="META-INF/services/*"/>
  -        <include name="**/*.jelly"/>
  -        <include name="**/*.xml"/>
  -        <include name="**/*.dtd"/>
  -        <include name="**/*.rng"/>
  -      </fileset>
  -    </copy>
  -  </postGoal>
  -  
     <!-- runs the XML doclet -->  
     <goal name="doclet:xml" prereqs="java:compile">
       <path id="doclet.classpath">
  @@ -91,13 +76,6 @@
     </preGoal>
   
   
  -  <!-- ensure that the test jelly scripts are copied to the test-classes directory -->

  -  <preGoal name="test:test">
  -    <copy todir="${maven.test.dest}">
  -	  <fileset dir="${pom.build.unitTestSourceDirectory}" includes="**/*.jelly"/>
  -	</copy>
  -  </preGoal>
  -
   
     <!-- create the lib and bin directories in the binary distro -->  
     <preGoal name="dist:build">
  @@ -564,4 +542,29 @@
       </java>
     </goal>
   
  +
  +  <!-- NOTE that the following 2 postGoals can be removed when we can assume 1.0 Maven
everywhere -->
  +  <!-- copies JAR resources stuff -->
  +  <postGoal name="java:compile">
  +    <copy todir="${maven.build.dest}">
  +      <fileset dir="src/java">
  +        <include name="**/*.properties"/>
  +      </fileset>
  +    </copy>
  +  </postGoal>
  +  
  +  <!-- copies unit testing stuff -->
  +  <postGoal name="test:compile">
  +    <copy todir="${maven.test.dest}">
  +      <fileset dir="src/test">
  +        <include name="**/*.properties"/>
  +        <include name="META-INF/services/*"/>
  +        <include name="**/*.jelly"/>
  +        <include name="**/*.xml"/>
  +        <include name="**/*.dtd"/>
  +        <include name="**/*.rng"/>
  +      </fileset>
  +    </copy>
  +  </postGoal>
  +  
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message