You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2002/12/08 04:14:35 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/test plugin.jelly

jvanzyl     2002/12/07 19:14:35

  Modified:    src/plugins-build/test plugin.jelly
  Log:
  o fixing the test resource copy to match that of the jar resource logic.
  
  Revision  Changes    Path
  1.25      +4 -14     jakarta-turbine-maven/src/plugins-build/test/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/test/plugin.jelly,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- plugin.jelly	7 Dec 2002 02:19:08 -0000	1.24
  +++ plugin.jelly	8 Dec 2002 03:14:34 -0000	1.25
  @@ -268,20 +268,10 @@
   
       <j:if test="${unitTestSourcesPresent == 'true'}">
         <j:if test="${!pom.build.unitTest.resources.isEmpty()}">
  -            
  -        <!-- 
  -          We have to test for this because it appears that if the
  -          build/unitTest/resources is not set we end up with a value
  -          of ''. This might not be jelly but the way the POM is processed
  -          but this will fix it for now. jvz.
  -        -->
  -             
  -        <j:if test="${pom.build.unitTest.resources == ''}">
  -          <resources:copy 
  -            resources="${pom.build.unitTest.resources}"
  -            todir="${maven.test.dest}" 
  -          />
  -        </j:if>
  +        <resources:copy 
  +          resources="${pom.build.unitTest.resources}"
  +          todir="${maven.test.dest}" 
  +        />
         </j:if>
       </j:if>
     </goal>