You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2010/01/16 13:16:47 UTC
svn commit: r899924 -
/maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml
Author: dennisl
Date: Sat Jan 16 12:16:47 2010
New Revision: 899924
URL: http://svn.apache.org/viewvc?rev=899924&view=rev
Log:
[MSHARED-32] Customization of jar-name pattern of classpath-entries inside MANIFEST.MF
[MSHARED-133] Invalid example in maven-archiver documentation
o Add the new features of MSHARED-32 to the reference documentation
Modified:
maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml
Modified: maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml?rev=899924&r1=899923&r2=899924&view=diff
==============================================================================
--- maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml (original)
+++ maven/shared/trunk/maven-archiver/src/site/xdoc/index.xml Sat Jan 16 12:16:47 2010
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -222,9 +222,24 @@
<td></td>
</tr>
<tr>
+ <td>classpathLayoutType</td>
+ <td>
+ The type of layout to use when formatting entries in the generated
+ <code>Class-Path</code>. Valid values are: <code>simple</code>,
+ <code>repository</code> (the same as a Maven classpath layout) and
+ <code>custom</code>.
+ <br/>
+ <b>Note:</b> If you specify a type of <code>custom</code> you
+ <b>must</b> also set <code>customClasspathLayout</code>.
+ The default value is <code>simple</code>.
+ </td>
+ <td>String</td>
+ <td>2.4</td>
+ </tr>
+ <tr>
<td>classpathMavenRepositoryLayout</td>
<td>
- The generated <code>Class-Path</code> entry will contains paths
+ The generated <code>Class-Path</code> entry will contain paths
that follow the Maven 2 repository layout:
<code>${groupId}/${artifactId}/${version}/${fileName}</code>.
The default value is <code>false</code>.
@@ -243,6 +258,23 @@
<td></td>
</tr>
<tr>
+ <td>customClasspathLayout</td>
+ <td>
+ The layout expression to use when the layout type set in
+ <code>classpathLayoutType</code> has the value <code>custom</code>.
+ Expressions will be evaluated against the following ordered list
+ of classpath-related objects:
+ <ol>
+ <li>The current Artifact instance, if one exists.</li>
+ <li>The current ArtifactHandler instance from the artifact above.</li>
+ </ol>
+ <b>Note:</b> If you specify a layout type of <code>custom</code>
+ you <b>must</b> set this layout expression.
+ </td>
+ <td>String</td>
+ <td>2.4</td>
+ </tr>
+ <tr>
<td>mainClass</td>
<td>The <code>Main-Class</code> manifest entry.</td>
<td>String</td>