Author: felixk Date: Sat Mar 5 20:44:20 2011 New Revision: 1078348 URL: http://svn.apache.org/viewvc?rev=1078348&view=rev Log: Using maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x with Maven 3.x
Modified: james/project/trunk/pom.xml Modified: james/project/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/project/trunk/pom.xml?rev=1078348&r1=1078347&r2=1078348&view=diff ============================================================================== --- james/project/trunk/pom.xml (original) +++ james/project/trunk/pom.xml Sat Mar 5 20:44:20 2011 @@ -286,7 +286,38 @@ </distributionManagement> <profiles> - <!-- Use inherited apache release profile --> - </profiles> + <!-- Use inherited apache release profile --> + + <!-- can be removed when all james project have been migrated to maven 3 only --> + <profile> + <id>maven-3</id> + <activation> + <file> + <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) --> + <exists>${basedir}</exists> + </file> + </activation> + <properties> + <site.plugin.version>2.2</site.plugin.version> + </properties> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.0-beta-3</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org