dion        2003/09/30 16:26:03

  Modified:    examples maven.xml
  Log:
  Remove duplicate goals
  
  Revision  Changes    Path
  1.2       +0 -48     maven-plugins/examples/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/examples/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml 24 Jan 2003 03:44:33 -0000      1.1
  +++ maven.xml 30 Sep 2003 23:26:03 -0000      1.2
  @@ -1,52 +1,4 @@
   <project default="plugin">
   
  -  <goal name="plugin">
  -    <!-- set up the directory the jar will be assembled to -->
  -    <property name="assemblyDir" value="target/assemblyDir"/>
  -    
  -    <mkdir dir="${assemblyDir}"/>
  -    
  -    <!-- copy the plugin files to the assembly directory -->
  -    <copy todir="${assemblyDir}">
  -      <fileset dir=".">
  -        <exclude name="**/target/**"/>
  -        <exclude name="src/**"/>
  -        <exclude name="maven.xml"/>
  -        <exclude name="maven.log"/>
  -        <exclude name="**/velocity.log"/>
  -        <exclude name="**/.cvsignore"/>
  -      </fileset>
  -    </copy>
  -    
  -    <!-- jar the files up -->
  -    <jar jarfile="${maven.build.dir}/${maven.final.name}.jar">
  -      <fileset dir="${assemblyDir}"/>
  -    </jar>
  -    
  -    <!-- copy the jar to the local repository as a maven jar -->
  -    <copy
  -      file="${maven.build.dir}/${maven.final.name}.jar"
  -      todir="${maven.repo.local}/maven/jars"/>
  -  </goal>
  -
  -  <!-- install the plugin in the maven home directory -->    
  -  <goal name="plugin:install" prereqs="plugin"
  -    description="Install the plugin in Maven's plugins dir">
  -
  -    <copy file="${maven.build.dir}/${maven.final.name}.jar"
  -      todir="${maven.home}/plugins"/>
  -
  -  </goal>
  -
  -  <!-- unzip the jar file into a plugin directory -->
  -  <goal name="plugin:deploy" prereqs="plugin"
  -        description="Install an unpacked version of the plugin">
  -
  -    <mkdir dir="${maven.home}/plugins/${maven.final.name}"/>
  -    <unzip src="${maven.build.dir}/${maven.final.name}.jar" 
  -      dest="${maven.home}/plugins/${maven.final.name}"/>
  -
  -  </goal>
  -
   </project>
       
  
  
  

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

Reply via email to