You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/03/08 10:36:34 UTC
svn commit: r1079308 - /james/project/trunk/project/pom.xml
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org