commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r645419 - /commons/sandbox/exec/trunk/pom.xml
Date Mon, 07 Apr 2008 09:11:44 GMT
Author: sgoeschl
Date: Mon Apr  7 02:11:43 2008
New Revision: 645419

URL: http://svn.apache.org/viewvc?rev=645419&view=rev
Log:
Making the cobertura reports optional so they don't show p on the project website - afaik
some CSS from cobertura are under GPL and this is a week workaround to keep cobertura but
not to have the reports on the main website

Modified:
    commons/sandbox/exec/trunk/pom.xml

Modified: commons/sandbox/exec/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/pom.xml?rev=645419&r1=645418&r2=645419&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/pom.xml (original)
+++ commons/sandbox/exec/trunk/pom.xml Mon Apr  7 02:11:43 2008
@@ -101,12 +101,6 @@
 
   <reporting>
     <plugins>
-      <!-- Avoid broken Cobertura 2.1 plugin -->
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.0</version>
-      </plugin>
       <!-- generate the changes report from changes.xml -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -131,6 +125,25 @@
       </plugin>            
     </plugins>
   </reporting>
+
+  <profiles>
+    <!-- 
+      enable this profile if you like to create cobertura report not being part of the official
website
+    -->
+    <profile>
+      <id>coverage</id>
+      <reporting>
+        <plugins>
+          <!-- Avoid broken Cobertura 2.1 plugin -->
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>cobertura-maven-plugin</artifactId>
+            <version>2.0</version>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
 
   <!-- Compiler source and target JVM (see parent pom) -->
   <properties>



Mime
View raw message