Author: rfscholte
Date: Fri Nov 25 18:19:56 2011
New Revision: 1206276

URL: http://svn.apache.org/viewvc?rev=1206276&view=rev
Log:
MSITE-620: Fix documentation of attach-descriptor according to Maven3 
Compatibility Notes

Modified:
    
maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDescriptorAttachMojo.java

Modified: 
maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDescriptorAttachMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDescriptorAttachMojo.java?rev=1206276&r1=1206275&r2=1206276&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDescriptorAttachMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteDescriptorAttachMojo.java
 Fri Nov 25 18:19:56 2011
@@ -31,9 +31,11 @@ import org.apache.maven.project.MavenPro
 import org.codehaus.plexus.util.FileUtils;
 
 /**
- * Adds the site descriptor (<code>site.xml</code>) to the list of files to be 
installed/deployed.
- * By default, this is enabled only when the project has pom packaging since 
it will be used by modules inheriting,
- * but this can be enabled for other projects packaging if needed.
+ * Adds the site descriptor (<code>site.xml</code>) to the list of files to be 
installed/deployed.<br/>
+ * For Maven-2.x this is enabled by default only when the project has 
<code>pom</code> packaging since it will be used by modules inheriting,
+ * but this can be enabled for other projects packaging if needed.<br/>
+ * This default execution has been removed from the built-in lifecycle of 
Maven 3.x for <code>pom</code>-projects.
+ * Users that actually use those projects to provide a common site descriptor 
for sub modules will need to explicitly define this goal execution to restore 
the intended behavior.  
  *
  * @author <a href="mailto:br...@apache.org";>Brett Porter</a>
  * @version $Id$


Reply via email to