Author: dennisl
Date: Sat Feb 5 10:40:22 2011
New Revision: 1067422
URL: http://svn.apache.org/viewvc?rev=1067422&view=rev
Log:
o Move documentation about maven-archiver version to the usage page for
consistency with other plugins.
Modified:
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt.vm
maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt.vm
Modified:
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt.vm?rev=1067422&r1=1067421&r2=1067422&view=diff
==============================================================================
---
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt.vm
(original)
+++
maven/plugins/trunk/maven-jar-plugin/src/site/apt/examples/manifest-customization.apt.vm
Sat Feb 5 10:40:22 2011
@@ -45,7 +45,6 @@ Manifest customization
element. Below you will find some of the configuration options that are
available. For more info see the
{{{http://maven.apache.org/shared/maven-archiver/index.html}Maven Archiver
reference}}.
- This version of Maven JAR Plugin uses Maven Archiver ${mavenArchiverVersion}.
+-----------------+
<project>
@@ -64,7 +63,7 @@ Manifest customization
</manifest>
<manifestEntries>
<mode>development</mode>
- <url>${pom.url}</url>
+ <url>\${project.url}</url>
<key>value</key>
</manifestEntries>
</archive>
Modified: maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt.vm?rev=1067422&r1=1067421&r2=1067422&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt.vm (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/apt/usage.apt.vm Sat Feb 5
10:40:22 2011
@@ -29,15 +29,19 @@
Usage
- Some brief examples on how to use this plugin. If you want to use advanced
- configurations you should have a look at the documentation for
- {{{http://maven.apache.org/shared/maven-archiver/}Maven Archiver}}.
+ Some brief examples on how to use this plugin. If you want to use advanced
+ configurations you should have a look at the documentation for
+ {{{http://maven.apache.org/shared/maven-archiver/}Maven Archiver}}.
- Note: Originally, this plugin was meant to sign JARs as well. As of version
2.3, the corresponding goals are no
+ To handle archiving this version of Maven JAR Plugin uses
+ {{{http://maven.apache.org/shared/maven-archiver/index.html}Maven Archiver}}
${mavenArchiverVersion}.
+
+ <<Note:>> Originally, this plugin was meant to sign JARs as well. As of
version 2.3, the corresponding goals are no
longer supported and users are advised to use the dedicated
{{{http://maven.apache.org/plugins/maven-jarsigner-plugin/}Maven Jarsigner
Plugin}} instead.
-* How to build a jar file
+
+* How to build a JAR file
If the packaging of your project is set to 'jar', this plugin is executed
whenever it passes the "package" phase. You can execute it
@@ -49,6 +53,7 @@ mvn package
In your project's <<<target>>> directory you'll able to see the generated
jar file.
+
* How to include/exclude content from jar artifact
Specify a list of fileset patterns to be included or excluded by adding
@@ -81,6 +86,7 @@ mvn package
Note that the patterns need to be relative to the path specified for the
plugin's
<<<classesDirectory>>> parameter.
+
* How to create an additional attached jar artifact from the project
Specify a list of fileset patterns to be included or excluded by adding