You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2013/01/10 21:58:52 UTC

svn commit: r1431636 - /commons/proper/commons-parent/trunk/pom.xml

Author: olamy
Date: Thu Jan 10 20:58:51 2013
New Revision: 1431636

URL: http://svn.apache.org/viewvc?rev=1431636&view=rev
Log:
move cobertura to a enable per default profile
but possible to disable with -DskipReports


Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1431636&r1=1431635&r2=1431636&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Thu Jan 10 20:58:51 2013
@@ -613,11 +613,6 @@ http://svn.apache.org/repos/asf/commons/
         <version>${commons.rat.version}</version>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <version>${commons.cobertura.version}</version>
-      </plugin>
-      <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>clirr-maven-plugin</artifactId>
           <version>${commons.clirr.version}</version>
@@ -635,6 +630,25 @@ http://svn.apache.org/repos/asf/commons/
 
   <profiles>
 
+    <profile>
+      <id>reporting</id>
+      <activation>
+        <property>
+          <name>skipReports</name>
+          <value>!true</value>
+        </property>
+      </activation>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>cobertura-maven-plugin</artifactId>
+            <version>${commons.cobertura.version}</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+
     <!--
          Profile for Commons releases via Nexus.
          Assembles artifacts, creates source and javadoc jars, signs them and adds hashes.