michal      2003/07/05 10:10:45

  Modified:    src/plugins-build/war plugin.jelly
               src/plugins-build/war/xdocs changes.xml goals.xml
  Log:
  war:clean goal was added
  
  Revision  Changes    Path
  1.24      +13 -0     maven/src/plugins-build/war/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/war/plugin.jelly,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- plugin.jelly      2 Jul 2003 12:21:00 -0000       1.23
  +++ plugin.jelly      5 Jul 2003 17:10:45 -0000       1.24
  @@ -185,6 +185,19 @@
           project="${pom}"/>    
           
     </goal>
  +  
  +  
  +  <!--==================================================================-->
  +  <!-- Clean                                                            -->
  +  <!--==================================================================-->  
  +    <goal name="war:clean"         
  +        description="Remove all artifacts created by war plugin">  
  +
  +      <!-- TODO: delete also snapshot and md5 files -->
  +      <ant:delete dir="${maven.war.webapp.dir}"/>
  +      <ant:delete file="${maven.war.build.dir}/${maven.war.final.name}" 
quiet="true" failonerror="false"/>          
  +    </goal>
  +    
   
     <!--==================================================================-->
     <!-- Special no-op goal which can be used by other plugin which need  -->
  
  
  
  1.8       +4 -1      maven/src/plugins-build/war/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/war/xdocs/changes.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- changes.xml       2 Jul 2003 10:34:48 -0000       1.7
  +++ changes.xml       5 Jul 2003 17:10:45 -0000       1.8
  @@ -9,6 +9,9 @@
   
       <release version="1.4" date="in CVS">
         <action dev="michal" type="fix">
  +       Added war:clean goal
  +      </action>
  +      <action dev="michal" type="fix">
           war:war goal is simply packaging
           (using ant jar task) the directory created
           by war:webapp goal. This change simplifies
  @@ -16,7 +19,7 @@
           and removes code duplication.
         </action>
         <action dev="michal" type="fix">
  -        Fixes for MAVEN-481. 
  +        Fi xes for MAVEN-481. 
           Bundling of tlds in war is supported.
         </action>
         <action dev="michal" type="fix">
  
  
  
  1.4       +5 -0      maven/src/plugins-build/war/xdocs/goals.xml
  
  Index: goals.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/war/xdocs/goals.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- goals.xml 2 Jul 2003 10:34:48 -0000       1.3
  +++ goals.xml 5 Jul 2003 17:10:45 -0000       1.4
  @@ -50,6 +50,11 @@
           <name>war:deploy-snapshot</name>
           <description>Deploy the snapshot version of the war to the remote 
repository(ies)</description>
         </goal>  
  +      <goal>
  +        <name>war:clean</name>
  +        <description>Delete all artifacts created by war plugin</description>
  +      </goal>  
  +      
       </goals>      
     </body>
   </document>
  
  
  

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

Reply via email to