Author: felixk
Date: Tue Mar  8 09:36:34 2011
New Revision: 1079308

URL: http://svn.apache.org/viewvc?rev=1079308&view=rev
Log:
The default execution of site:attach-descriptor has been removed from the 
built-in lifecycle bindings for projects with packaging "pom". Users that 
actually use those projects to provide a common site descriptor for sub modules 
will need to explicitly define the following goal execution to restore the 
intended behavior (JAMES-1041).

See 
https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-SiteandReporting

Modified:
    james/project/trunk/project/pom.xml

Modified: james/project/trunk/project/pom.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/project/pom.xml?rev=1079308&r1=1079307&r2=1079308&view=diff
==============================================================================
--- james/project/trunk/project/pom.xml (original)
+++ james/project/trunk/project/pom.xml Tue Mar  8 09:36:34 2011
@@ -94,6 +94,23 @@
       
<archive>http://mail-archives.apache.org/mod_mbox/james-site-dev/</archive>
     </mailingList>
   </mailingLists>
+  
+  <build>
+    <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-descriptor</id>
+                <goals>
+                  <goal>attach-descriptor</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+    </plugins>
+  </build>
 
   <profiles>
     <profile>
@@ -106,6 +123,14 @@
             <configuration>
               <siteDirectory>${basedir}/src/reporting-site</siteDirectory>
             </configuration>
+            <executions>
+              <execution>
+                <id>attach-descriptor</id>
+                <goals>
+                  <goal>attach-descriptor</goal>
+                </goals>
+              </execution>
+            </executions>
           </plugin>
         </plugins>
       </build>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to