You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/02/23 01:23:40 UTC

svn commit: r380002 - /maven/maven-1/plugins/trunk/jar/xdocs/properties.xml

Author: ltheussl
Date: Wed Feb 22 16:23:37 2006
New Revision: 380002

URL: http://svn.apache.org/viewcvs?rev=380002&view=rev
Log:
Add missing docs for MPJAR-3.

Modified:
    maven/maven-1/plugins/trunk/jar/xdocs/properties.xml

Modified: maven/maven-1/plugins/trunk/jar/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jar/xdocs/properties.xml?rev=380002&r1=380001&r2=380002&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/jar/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/jar/xdocs/properties.xml Wed Feb 22 16:23:37 2006
@@ -106,6 +106,44 @@
 		  <td>Yes</td>
 		  <td>Not only store data but also compress them, defaults to <code>true</code>.</td>
         </tr>
+        <tr>
+          <td>maven.jar.manifest.attributes.list</td>
+          <td>Yes</td>
+          <td>
+              Used by the <code>jar:jar</code> goal to define additional
+              attributes to add to the manifest in addition to the other
+              entries already added.
+
+              Sample:
+              <source><![CDATA[
+maven.jar.manifest.attributes.list = Foo-Attribute,Bar-Attribute
+maven.jar.manifest.attribute.Foo-Attribute = I like bread and butter
+maven.jar.manifest.attribute.Bar-Attribute = I like toast and jam
+              ]]></source>
+          </td>
+        </tr>
+        <tr>
+          <td>maven.jar.manifest.groups.list</td>
+          <td>Yes</td>
+          <td>
+              Used by the <code>jar:jar</code> goal to define sections/groups
+              for the manifest.  You can use this to seal classes
+              and add custom attributes to particular packages.
+
+              Sample:
+              <source><![CDATA[
+maven.jar.manifest.groups.list = MyClass,MyPackage
+maven.jar.manifest.MyClass.name = /com/mycompany/MyClass.class
+maven.jar.manifest.MyClass.attributes.list = Sealed,Custom
+maven.jar.manifest.MyClass.attribute.Sealed = true
+maven.jar.manifest.MyClass.attribute.Custom = Anything I want
+
+maven.jar.manifest.MyPackage.name = /com/mycompany/special
+maven.jar.manifest.MyPackage.attributes.list = Sealed
+maven.jar.manifest.MyPackage.attribute.Sealed = true
+              ]]></source>
+          </td>
+        </tr>
       </table>
     </section>
     <section name="Deploy Settings">