From: stephane m. <ste...@us...> - 2002-12-13 04:34:08
|
stephanemor 02/12/12 20:34:07 Added: javancss maven.xml javaapp maven.xml Log: Added plugin:install, plugin:deploy, etc. Revision Changes Path 1.1 maven-plugins/javancss/maven.xml Index: maven.xml =================================================================== <project default="plugin" xmlns:j="jelly:core" xmlns:m="maven"> <goal name="plugin"> <j:if test="${sourcesPresent == 'true'}"> <attainGoal name="java:compile"/> <attainGoal name="test:test"/> </j:if> <property name="assemblyDir" value="target/assemblyDir"/> <mkdir dir="${assemblyDir}"/> <copy todir="${assemblyDir}"> <fileset dir="."> <exclude name="target/**"/> <exclude name="src/**"/> <exclude name="maven.xml"/> <exclude name="maven.log"/> </fileset> </copy> <j:if test="${sourcesPresent == 'true'}"> <copy todir="${assemblyDir}"> <fileset dir="target/classes"/> </copy> </j:if> <jar jarfile="${maven.build.dir}/${maven.final.name}.jar"> <fileset dir="${assemblyDir}"/> </jar> <copy file="${maven.build.dir}/${maven.final.name}.jar" todir="${maven.repo.local}/maven/jars" /> </goal> <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> <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> <goal name="plugin:undeploy" description="Delete the deployed version of the plugin"> <delete dir="${maven.home}/plugins/${maven.final.name}"/> </goal> <goal name="plugin:uninstall" description="Delete all versions of the plugin"> <attainGoal name="plugin:undeploy"/> <delete> <fileset dir="${maven.home}/plugins/" includes="${maven.final.name}.jar"/> </delete> </goal> </project> 1.1 maven-plugins/javaapp/maven.xml Index: maven.xml =================================================================== <project default="plugin" xmlns:j="jelly:core" xmlns:m="maven"> <goal name="plugin"> <j:if test="${sourcesPresent == 'true'}"> <attainGoal name="java:compile"/> <attainGoal name="test:test"/> </j:if> <property name="assemblyDir" value="target/assemblyDir"/> <mkdir dir="${assemblyDir}"/> <copy todir="${assemblyDir}"> <fileset dir="."> <exclude name="target/**"/> <exclude name="src/**"/> <exclude name="maven.xml"/> <exclude name="maven.log"/> </fileset> </copy> <j:if test="${sourcesPresent == 'true'}"> <copy todir="${assemblyDir}"> <fileset dir="target/classes"/> </copy> </j:if> <jar jarfile="${maven.build.dir}/${maven.final.name}.jar"> <fileset dir="${assemblyDir}"/> </jar> <copy file="${maven.build.dir}/${maven.final.name}.jar" todir="${maven.repo.local}/maven/jars" /> </goal> <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> <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> <goal name="plugin:undeploy" description="Delete the deployed version of the plugin"> <delete dir="${maven.home}/plugins/${maven.final.name}"/> </goal> <goal name="plugin:uninstall" description="Delete all versions of the plugin"> <attainGoal name="plugin:undeploy"/> <delete> <fileset dir="${maven.home}/plugins/" includes="${maven.final.name}.jar"/> </delete> </goal> </project> |
From: <jo...@us...> - 2004-11-18 09:28:45
|
joehni 04/11/18 01:28:37 Modified: javaapp maven.xml Log: Replace maven.xml with goals from plugin plugin. Revision Changes Path 1.3 +1 -80 maven-plugins/javaapp/maven.xml Index: maven.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/javaapp/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 16 Nov 2004 11:13:36 -0000 1.2 +++ maven.xml 18 Nov 2004 09:28:32 -0000 1.3 @@ -1,80 +1 @@ -<project default="plugin" - xmlns:j="jelly:core" - xmlns:m="maven"> - - <goal - name="plugin"> - - <j:if test="${sourcesPresent == 'true'}"> - <attainGoal name="java:compile"/> - <attainGoal name="test:test"/> - </j:if> - - <property name="assemblyDir" value="target/assemblyDir"/> - - <mkdir dir="${assemblyDir}"/> - - <copy todir="${assemblyDir}"> - <fileset dir="."> - <exclude name="target/**"/> - <exclude name="src/**"/> - <exclude name="maven.xml"/> - <exclude name="maven.log"/> - </fileset> - </copy> - - <j:if test="${sourcesPresent == 'true'}"> - <copy todir="${assemblyDir}"> - <fileset dir="target/classes"/> - </copy> - </j:if> - - <jar - jarfile="${maven.build.dir}/${maven.final.name}.jar"> - <fileset dir="${assemblyDir}"/> - </jar> - - <copy - file="${maven.build.dir}/${maven.final.name}.jar" - todir="${maven.repo.local}/${pom.groupId}/plugins" - /> - - </goal> - - <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> - - <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> - - <goal name="plugin:undeploy" - description="Delete the deployed version of the plugin"> - <delete dir="${maven.home}/plugins/${maven.final.name}"/> - </goal> - - <goal name="plugin:uninstall" - description="Delete all versions of the plugin"> - <attainGoal name="plugin:undeploy"/> - <delete> - <fileset dir="${maven.home}/plugins/" includes="${maven.final.name}.jar"/> - </delete> - </goal> - -</project> +<project default="plugin:install" /> |