felipeal 2004/10/18 10:19:07 Modified: jar plugin.jelly plugin.properties project.xml jar/xdocs changes.xml properties.xml Log: MPJAR-38: added property maven.jar.final.name Revision Changes Path 1.44 +5 -5 maven-plugins/jar/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven-plugins/jar/plugin.jelly,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- plugin.jelly 11 Sep 2004 01:16:36 -0000 1.43 +++ plugin.jelly 18 Oct 2004 17:19:07 -0000 1.44 @@ -66,7 +66,7 @@ <!-- See http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html --> <!-- See http://java.sun.com/j2se/1.4.1/docs/guide/jar/jar.html --> <ant:jar - jarfile="${maven.build.dir}/${maven.final.name}.jar" + jarfile="${maven.build.dir}/${maven.jar.final.name}" basedir="${maven.build.dest}" index="${maven.jar.index}" compress="${maven.jar.compress}" @@ -209,7 +209,7 @@ description="Deploy a snapshot jar to the remote repository"> <artifact:deploy-snapshot - artifact="${maven.build.dir}/${maven.final.name}.jar" + artifact="${maven.build.dir}/${maven.jar.final.name}" type="jar" project="${pom}" /> @@ -225,7 +225,7 @@ description="Deploy a jar to the remote repository"> <artifact:deploy - artifact="${maven.build.dir}/${maven.final.name}.jar" + artifact="${maven.build.dir}/${maven.jar.final.name}" type="jar" project="${pom}" /> @@ -239,7 +239,7 @@ description="Install the jar in the local repository"> <artifact:install - artifact="${maven.build.dir}/${maven.final.name}.jar" + artifact="${maven.build.dir}/${maven.jar.final.name}" type="jar" project="${pom}" /> @@ -254,7 +254,7 @@ description="Install a snapshot jar in the local repository"> <artifact:install-snapshot - artifact="${maven.build.dir}/${maven.final.name}.jar" + artifact="${maven.build.dir}/${maven.jar.final.name}" type="jar" project="${pom}" /> 1.13 +1 -0 maven-plugins/jar/plugin.properties Index: plugin.properties =================================================================== RCS file: /home/cvs/maven-plugins/jar/plugin.properties,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.properties 12 Jul 2004 23:35:06 -0000 1.12 +++ plugin.properties 18 Oct 2004 17:19:07 -0000 1.13 @@ -24,3 +24,4 @@ maven.jar.excludes = **/package.html maven.jar.index=false maven.jar.compress=true +maven.jar.final.name = ${maven.final.name}.jar 1.32 +1 -1 maven-plugins/jar/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/maven-plugins/jar/project.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- project.xml 12 Jul 2004 23:35:06 -0000 1.31 +++ project.xml 18 Oct 2004 17:19:07 -0000 1.32 @@ -23,7 +23,7 @@ <pomVersion>3</pomVersion> <id>maven-jar-plugin</id> <name>Maven Jar Plug-in</name> - <currentVersion>1.6</currentVersion> + <currentVersion>1.7-SNAPSHOT</currentVersion> <description>Plugin for creating JAR files. Requires Maven 1.0 RC2.</description> <shortDescription>Create jar files</shortDescription> <url>http://maven.apache.org/reference/plugins/jar/</url> 1.25 +3 -0 maven-plugins/jar/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/jar/xdocs/changes.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- changes.xml 14 Jul 2004 12:06:42 -0000 1.24 +++ changes.xml 18 Oct 2004 17:19:07 -0000 1.25 @@ -25,6 +25,9 @@ <author email="[EMAIL PROTECTED]">dIon Gillard</author> </properties> <body> + <release version="1.7-SNAPSHOT" date="in CVS"> + <action dev="felipeal" type="add">Added new property <code>maven.jar.final.name</code>.</action> + </release> <release version="1.6" date="2004-06-28"> <action dev="brett" type="update">Deprecated jar:snapshot</action> <action dev="brett" type="update">Use the artifact plugin for installation</action> 1.11 +9 -0 maven-plugins/jar/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /home/cvs/maven-plugins/jar/xdocs/properties.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- properties.xml 12 Jul 2004 06:58:01 -0000 1.10 +++ properties.xml 18 Oct 2004 17:19:07 -0000 1.11 @@ -28,6 +28,15 @@ <body> <section name="Jar Settings"> <table> + <tr><th>Property</th><th>Optional?</th><th>Description</th></tr> + <tr> + <td>maven.jar.final.name</td> + <td>Yes</td> + <td> + Name of the generated JAR file. + Defaults to ${maven.final.name}.jar. + </td> + </tr> <tr> <td>maven.has.jar.resource.patterns</td> <td>Yes</td>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]