Author: bimargulies
Date: Thu Dec 8 13:48:07 2011
New Revision: 1211886
URL: http://svn.apache.org/viewvc?rev=1211886&view=rev
Log:
(no jira): Expand the documentation for attachClasses.
Modified:
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
Modified:
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java?rev=1211886&r1=1211885&r2=1211886&view=diff
==============================================================================
---
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
(original)
+++
maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
Thu Dec 8 13:48:07 2011
@@ -129,8 +129,21 @@ public class WarMojo
/**
* Whether classes (that is the content of the WEB-INF/classes directory)
should be attached to the
- * project.
- *
+ * project as an additional artifact.
+ * <p>By default the
+ * classifier for the additional artifact is 'classes'.
+ * You can change it with the
+ *
<code><![CDATA[<classesClassifier>someclassifier</classesClassifier>]]></code>
+ * parameter.
+ * </p><p>
+ * If this parameter true, another project can depend on the classes
+ * by writing something like:
+ * <pre><![CDATA[<dependency>
+ * <groupId>myGroup</groupId>
+ * <artifactId>myArtifact</artifactId>
+ * <version>myVersion</myVersion>
+ * <classifier>classes</classifier>
+ * </dependency>]]></pre></p>
* @parameter default-value="false"
* @since 2.1-alpha-2
*/