Author: apetrelli Date: Fri Mar 11 14:37:21 2011 New Revision: 1080580 URL: http://svn.apache.org/viewvc?rev=1080580&view=rev Log: TILESSHARED-24 Enabled Maven 3 site building.
Modified:
tiles/framework/trunk/pom.xml
Modified: tiles/framework/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?rev=1080580&r1=1080579&r2=1080580&view=diff
==============================================================================
--- tiles/framework/trunk/pom.xml (original)
+++ tiles/framework/trunk/pom.xml Fri Mar 11 14:37:21 2011
@@ -284,6 +284,121 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>maven-3</id>
+ <activation>
+ <file>
+ <exists>${basedir}</exists>
+ </file>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0-beta-3</version>
+ <configuration>
+ <reportingPlugins>
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-project-info-reports-plugin</artifactId>
+ </plugin>
+ <plugin>
+
<artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ <plugin>
+
<artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+
<configLocation>http://svn.eu.apache.org/repos/asf/tiles/maven/trunk/build/tiles_checks.xml
+ </configLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>jxr-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+
<artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-javadoc-plugin</artifactId>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ <configuration>
+
<excludePackageNames>org.apache.tiles.test</excludePackageNames>
+ <links>
+
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+
<link>http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api</link>
+
<link>http://commons.apache.org/chain/apidocs</link>
+
<link>http://commons.apache.org/digester/commons-digester-1.6/docs/api</link>
+
<link>http://commons.apache.org/logging/commons-logging-1.1/apidocs</link>
+ </links>
+
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
+ <docletArtifact>
+ <groupId>gr.spinellis</groupId>
+
<artifactId>UmlGraph</artifactId>
+ <version>4.6</version>
+ </docletArtifact>
+ <additionalparam>
+ -inferrel
+ -inferdep -quiet
+ -hide
+ java.*
+ -collpackages
+ java.util.*
+ -qualify
+ -postfixpackage
+ -nodefontsize 9
+ -nodefontpackagesize 7
+ </additionalparam>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <configuration>
+ <includes>
+ <include>pom.xml</include>
+ <include>src/**</include>
+ </includes>
+ <excludes>
+
<exclude>**/*LICENSE.txt</exclude>
+
<exclude>**/*MANIFEST.MF</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+
<artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-alpha-3-SNAPSHOT</version>
+ </plugin>
+ </reportingPlugins>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-descriptor</id>
+ <goals>
+ <goal>attach-descriptor</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
