You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2010/10/07 02:28:19 UTC
svn commit: r1005303 -
/commons/proper/chain/branches/test-maven3-profile/pom.xml
Author: niallp
Date: Thu Oct 7 00:28:19 2010
New Revision: 1005303
URL: http://svn.apache.org/viewvc?rev=1005303&view=rev
Log:
Add a maven3 profile with a bunch of reports
Modified:
commons/proper/chain/branches/test-maven3-profile/pom.xml
Modified: commons/proper/chain/branches/test-maven3-profile/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/test-maven3-profile/pom.xml?rev=1005303&r1=1005302&r2=1005303&view=diff
==============================================================================
--- commons/proper/chain/branches/test-maven3-profile/pom.xml (original)
+++ commons/proper/chain/branches/test-maven3-profile/pom.xml Thu Oct 7 00:28:19 2010
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>15</version>
+ <version>18-m3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>commons-chain</groupId>
@@ -225,6 +225,72 @@
</plugins>
</build>
</profile>
+ <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>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <reportPlugins
+ combine.children="append">
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
+ <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>${basedir}/checkstyle.xml</configLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <headerFile>${basedir}/license-header.txt</headerFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>clirr-maven-plugin</artifactId>
+ <configuration>
+ <comparisonVersion>1.1</comparisonVersion>
+ <minSeverity>info</minSeverity>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ </plugin>
+ </reportPlugins>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<reporting>