brett       2004/03/06 17:20:33

  Modified:    test     plugin.jelly
  Log:
  use test.skip on other goals
  
  Revision  Changes    Path
  1.25      +2 -2      maven-plugins/test/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/test/plugin.jelly,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- plugin.jelly      4 Mar 2004 18:39:12 -0000       1.24
  +++ plugin.jelly      7 Mar 2004 01:20:33 -0000       1.25
  @@ -42,7 +42,7 @@
          <j:set var="maven.test.searchdir" 
value="${pom.build.unitTestSourceDirectory}"/>
       </j:if>
   
  -    <j:if test="${unitTestSourcesPresent == 'true'}">
  +    <j:if test="${unitTestSourcesPresent == 'true' and 
context.getVariable('maven.test.skip') != 'true'}">
         
         <javac 
           destdir="${maven.test.dest}"
  @@ -338,7 +338,7 @@
           description="Copy any resources that must be present for run tests"
           prereqs="test:prepare-filesystem">
   
  -    <j:if test="${unitTestSourcesPresent}">
  +    <j:if test="${unitTestSourcesPresent == 'true' and 
context.getVariable('maven.test.skip') != 'true'}">
         <j:if test="${pom.build.unitTest != null}">
           <j:if test="${!pom.build.unitTest.resources.isEmpty()}">
             <maven:copy-resources
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to