You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by lt...@apache.org on 2011/04/11 13:18:23 UTC
svn commit: r1091029 - in /maven/doxia: doxia-sitetools/trunk/pom.xml
doxia-tools/trunk/pom.xml doxia/trunk/pom.xml
Author: ltheussl
Date: Mon Apr 11 11:18:23 2011
New Revision: 1091029
URL: http://svn.apache.org/viewvc?rev=1091029&view=rev
Log:
configure cobertura and pmd plugins. Note that surefire's forkMode=never does not work with cobertura, see MCOBERTURA-70
Modified:
maven/doxia/doxia-sitetools/trunk/pom.xml
maven/doxia/doxia-tools/trunk/pom.xml
maven/doxia/doxia/trunk/pom.xml
Modified: maven/doxia/doxia-sitetools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/pom.xml?rev=1091029&r1=1091028&r2=1091029&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/pom.xml (original)
+++ maven/doxia/doxia-sitetools/trunk/pom.xml Mon Apr 11 11:18:23 2011
@@ -328,6 +328,18 @@ under the License.
</tagletArtifacts>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
</plugins>
</reporting>
</profile>
Modified: maven/doxia/doxia-tools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/pom.xml?rev=1091029&r1=1091028&r2=1091029&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/pom.xml (original)
+++ maven/doxia/doxia-tools/trunk/pom.xml Mon Apr 11 11:18:23 2011
@@ -158,12 +158,6 @@ under the License.
<tagBase>https://svn.apache.org/repos/asf/maven/doxia/doxia-tools/tags</tagBase>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>never</forkMode>
- </configuration>
- </plugin>
<!-- TODO need to upgrade to last version or Maven parent version -->
<plugin>
<groupId>org.codehaus.plexus</groupId>
@@ -249,4 +243,20 @@ under the License.
</plugin>
</plugins>
</reporting>
+
+ <profiles>
+ <profile>
+ <id>reporting</id>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
+
</project>
Modified: maven/doxia/doxia/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/pom.xml?rev=1091029&r1=1091028&r2=1091029&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/pom.xml (original)
+++ maven/doxia/doxia/trunk/pom.xml Mon Apr 11 11:18:23 2011
@@ -413,6 +413,18 @@ under the License.
</tagletArtifacts>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
</plugins>
</reporting>
</profile>