[java-parent-projects COMMIT] /java-parent-project-v2/trunk/pom.xml

noreply at shibboleth.net noreply at shibboleth.net
Thu Nov 15 16:02:54 EST 2012


Author: putmanb
Date: Thu Nov 15 16:02:53 2012
New Revision: 88

URL: http://svn.shibboleth.net/view/java-parent-projects?rev=88&view=rev
Log:
Add Cobertura and JavaNCSS report plugins to V2 parent, to align with V3 parent

Modified:
    java-parent-project-v2/trunk/pom.xml

Modified: java-parent-project-v2/trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v2/trunk/pom.xml?rev=88&r1=87&r2=88&view=diff
==============================================================================
--- java-parent-project-v2/trunk/pom.xml (original)
+++ java-parent-project-v2/trunk/pom.xml Thu Nov 15 16:02:53 2012
@@ -419,6 +419,39 @@
 
     <reporting>
         <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.5.1</version>
+                <configuration>
+                    <aggregate>true</aggregate>
+                    <quiet>true</quiet>
+                    <omitGplFiles>true</omitGplFiles>
+                    <instrumentation>
+                        <excludes>
+                            <exclude>**/*Exception.class</exclude>
+                            <!-- 
+                                Exclude directive doesn't support \d so lets just assume no class 
+                                will have more than 9 anonymous inner classes 
+                            -->
+                            <exclude>net/**/*$1.class</exclude>
+                            <exclude>net/**/*$2.class</exclude>
+                            <exclude>net/**/*$3.class</exclude>
+                            <exclude>net/**/*$4.class</exclude>
+                            <exclude>net/**/*$5.class</exclude>
+                            <exclude>net/**/*$6.class</exclude>
+                            <exclude>net/**/*$7.class</exclude>
+                            <exclude>net/**/*$8.class</exclude>
+                            <exclude>net/**/*$9.class</exclude>
+                        </excludes>
+                    </instrumentation>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>javancss-maven-plugin</artifactId>
+                <version>2.0</version>
+            </plugin>
             <!-- 
                 We use the aggregate reports for the javadoc and jxr reports because even if the 
                 project isn't a multi-module project the plugin still does the right thing.  



More information about the commits mailing list