PR: MPJAR-35

Submitted by: Dennis Lundberg
Document need for jar.manifest.classpath property


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@356963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2005-12-15 01:03:51 +00:00
parent ab2cc98844
commit 9850abeaea
3 changed files with 32 additions and 40 deletions

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.8-SNAPSHOT" date="In SVN"> <release version="1.8-SNAPSHOT" date="In SVN">
<action dev="ltheussl" type="update" issue="MPJAR-35" due-to="Dennis Lundberg">Document need for jar.manifest.classpath property.</action>
<action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated : <action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
<ul> <ul>
<li>velocity v 1.4-dev -> v1.4</li> <li>velocity v 1.4-dev -> v1.4</li>

View File

@ -62,44 +62,31 @@
<tr> <tr>
<td>jar:deploy-snapshot</td> <td>jar:deploy-snapshot</td>
<td> <td>
Deploy a snapshot jar to the remote repository Deploy a snapshot jar to the remote repository.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>jar:deploy</td> <td>jar:deploy</td>
<td> <td>
Deploy a jar to the remote repository. The jar is built using Deploy a jar to the remote repository. The jar is built using
the <code>java:jar</code> goal the <code>jar:jar</code> goal.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>jar:install</td> <td>jar:install</td>
<td> <td>
Install a jar into the local repository. The jar is built using Install a jar into the local repository. The jar is built using
the <code>java:jar</code> goal the <code>jar:jar</code> goal.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>jar:install-snapshot</td> <td>jar:install-snapshot</td>
<td> <td>
Install a jar into the local repository. The jar is built using Install a snapshot into the local repository. The jar is built using
the <code>jar:snapshot</code> goal and copied into the local the <code>jar:jar</code> goal and copied into the local
repository as the -SNAPSHOT version. repository as the -SNAPSHOT version.
</td> </td>
</tr> </tr>
<tr>
<td>clean</td>
<td>
This goal is a shortcut to the <code>clean:clean</code> goal
</td>
</tr>
<tr>
<td>clean:clean</td>
<td>
Removes the <a href="properties.html">maven.build.dir</a> and
<a href="properties.html">maven.test.reportsDirectory</a> directories
</td>
</tr>
</table> </table>
</section> </section>
</body> </body>

View File

@ -51,7 +51,7 @@
section of your section of your
<a href="http://maven.apache.org/reference/project-descriptor.html"> <a href="http://maven.apache.org/reference/project-descriptor.html">
project descriptor</a>. If there are <code>includes</code> or <code>excludes</code> project descriptor</a>. If there are <code>includes</code> or <code>excludes</code>
elements, this property will be set to true elements, this property will be set to <code>true</code>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -60,7 +60,7 @@
<td> <td>
Specifies a list of patterns to exclude from the jar process. Specifies a list of patterns to exclude from the jar process.
The default value is <code>**/package.html</code>, and is used The default value is <code>**/package.html</code>, and is used
by the "java:jar" goal. by the <code>jar:jar</code> goal.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -68,7 +68,7 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Specifies a list of patterns to include with the jar process. Specifies a list of patterns to include with the jar process.
The default value is <code>null</code> The default value is <code>null</code>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -76,7 +76,7 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Whether the source should be included in the jar. Whether the source should be included in the jar.
The default value is <code>false</code> The default value is <code>false</code>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -101,18 +101,21 @@
<td>maven.jar.manifest.classpath.add</td> <td>maven.jar.manifest.classpath.add</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
Tells maven to add classpath information the the jar manifest. Tells Maven to add classpath information to the jar manifest.
This can cause some applications to break, so it has been disabled by default. This can cause some applications to break, so it has been disabled by default.
Set to 'true' to enable classpath information. Set to <code>true</code> to enable classpath information.
Only the dependency jars that have the property
<code>jar.manifest.classpath</code> set to <code>true</code>
will be added to the classpath information.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.jar.manifest.extensions.add</td> <td>maven.jar.manifest.extensions.add</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
Tells maven to add extension information the the jar manifest. Tells Maven to add extension information to the jar manifest.
This can cause some applications to break, so it has been disabled by default. This can cause some applications to break, so it has been disabled by default.
Set to 'true' to enable extension information. Set to <code>true</code> to enable extension information.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -120,7 +123,7 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Specifies the Main-Class attribute for your manifest. If not set, Specifies the Main-Class attribute for your manifest. If not set,
no MainClass attribute will be added to the manifest. no Main-Class attribute will be added to the manifest.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -145,20 +148,20 @@
]]></source> ]]></source>
section of your section of your
<a href="http://maven.apache.org/reference/project-descriptor.html"> <a href="http://maven.apache.org/reference/project-descriptor.html">
project descriptor</a> project descriptor</a>.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.jar.compress</td> <td>maven.jar.compress</td>
<td>Yes</td> <td>Yes</td>
<td>Not only store data but also compress them, defaults to true.</td> <td>Not only store data but also compress them, defaults to <code>true</code>.</td>
</tr> </tr>
<tr> <tr>
<td>maven.jar.source.path</td> <td>maven.jar.source.path</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
The location of the source code within the jar, if included. The location of the source code within the jar, if included.
The default value is <code>src</code> The default value is <code>src</code>.
</td> </td>
</tr> </tr>
</table> </table>
@ -170,36 +173,37 @@
<td>maven.repo.central</td> <td>maven.repo.central</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
Central repository for maven artifacts Central repository for maven artifacts.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.repo.central.directory</td> <td>maven.repo.central.directory</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
Directory to deploy jars into on the remote repository Directory to deploy jars into on the remote repository.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.repo.local</td> <td>maven.repo.local</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
The local repository to store maven artifacts, including jar file The local repository to store maven artifacts, including jar file
dependencies dependencies.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.username</td> <td>maven.username</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
This is the user name used to log in to the remote repository This is the user name used to log in to the remote repository.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>maven.remote.group</td> <td>maven.remote.group</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
The name of the Unix group that should own deployed artifacts. Default to maven The name of the Unix group that should own deployed artifacts.
Default to <code>maven</code>.
</td> </td>
</tr> </tr>
</table> </table>
@ -210,7 +214,7 @@
<tr> <tr>
<td>maven.build.dest</td> <td>maven.build.dest</td>
<td>Yes</td> <td>Yes</td>
<td>The directory for compiled classes</td> <td>The directory for compiled classes</td>.
</tr> </tr>
<tr> <tr>
<td>maven.build.dir</td> <td>maven.build.dir</td>
@ -230,7 +234,7 @@
This property holds the Ant <code>path</code> of all the dependent jar This property holds the Ant <code>path</code> of all the dependent jar
files listed in the <code>dependencies</code> block of your files listed in the <code>dependencies</code> block of your
<a href="http://maven.apache.org/reference/project-descriptor.html"> <a href="http://maven.apache.org/reference/project-descriptor.html">
project descriptor</a> project descriptor</a>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -238,14 +242,14 @@
<td>Yes</td> <td>Yes</td>
<td> <td>
Usually this property is set to <code>${pom.artifactId}-${pom.currentVersion}</code> Usually this property is set to <code>${pom.artifactId}-${pom.currentVersion}</code>
but the snapshot goal overwrites it to be the snapshot signature but the snapshot goal overwrites it to be the snapshot signature.
</td> </td>
</tr> </tr>
<tr> <tr>
<td>user.name</td> <td>user.name</td>
<td>Yes</td> <td>Yes</td>
<td> <td>
Used by the <code>java:jar</code> goal as the default value of the Used by the <code>jar:jar</code> goal as the default value of the
<code>Built-By</code> attribute of the manifest if one is not specified. <code>Built-By</code> attribute of the manifest if one is not specified.
</td> </td>
</tr> </tr>