jvanzyl     2002/07/08 06:06:52

  Modified:    src/plugins/java plugin.jelly plugin.properties
  Log:
  o Adding snapshot cabability back in.
  
  Revision  Changes    Path
  1.2       +13 -1     jakarta-turbine-maven/src/plugins/java/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/java/plugin.jelly,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- plugin.jelly      6 Jul 2002 04:49:10 -0000       1.1
  +++ plugin.jelly      8 Jul 2002 13:06:52 -0000       1.2
  @@ -1,6 +1,8 @@
   <?xml version="1.0"?>
   
  -<project xmlns:j="jelly:core">
  +<project 
  +  xmlns:j="jelly:core"
  +  xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary">
   
     <path id="maven.compile.src.set">
       <pathelement location="${pom.build.SourceDirectory}"/>
  @@ -56,6 +58,16 @@
       property="unitTestSourcesPresent"
       file="${pom.build.unitTestSourceDirectory}"
     />
  +
  +  <!-- S N A P S H O T -->
  +
  +  <j:set var="mavenBuild" value="${maven.build}"/>
  +  
  +  <j:if test='${mavenBuild.equals("snapshot")}'>
  +    <maven:snapshot project="${pom}"/>    
  +    <j:set var="maven.final.name" value="${snapshotSignature}"/>
  +    <echo>Building snapshot: ${maven.final.name}</echo>
  +  </j:if>
   
     <!-- ================================================================== -->
     <!--     prepare-filesystem                                             -->
  
  
  
  1.4       +2 -0      jakarta-turbine-maven/src/plugins/java/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/java/plugin.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- plugin.properties 7 Jul 2002 18:16:36 -0000       1.3
  +++ plugin.properties 8 Jul 2002 13:06:52 -0000       1.4
  @@ -51,3 +51,5 @@
   # Mark the defaults as loaded - PLEASE DON'T OVERRIDE
   # -------------------------------------------------------------------
   maven.defaults.loaded = true
  +
  +maven.build = MAVEN_BUILD_NOT_SET
  
  
  

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

Reply via email to