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

noreply at shibboleth.net noreply at shibboleth.net
Fri Mar 2 11:55:43 GMT 2012


Author: lajoie
Date: Fri Mar  2 11:55:43 2012
New Revision: 57

URL: http://svn.shibboleth.net/view/java-parent-project?rev=57&view=rev
Log:
Add in some reporting plugins to provide information on code complexity and unit test coverage

Modified:
    trunk/pom.xml

Modified: trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-project/trunk/pom.xml?rev=57&r1=56&r2=57&view=diff
==============================================================================
--- trunk/pom.xml (original)
+++ trunk/pom.xml Fri Mar  2 11:55:43 2012
@@ -419,6 +419,38 @@
 
     <reporting>
         <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.5.1</version>
+                <configuration>
+                    <quiet>true</quiet>
+                    <omitGplFiles>true</omitGplFiles>
+                    <instrumentation>
+                        <excludes>
+                            <exclude>net/**/*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.  
@@ -427,6 +459,9 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <version>2.8</version>
+                <configuration>
+                  <quiet>true</quiet>
+                </configuration>
                 <reportSets>
                     <reportSet>
                         <reports>
@@ -500,6 +535,7 @@
                             </compilerArguments>
                             <showDeprecation>true</showDeprecation>
                             <showWarnings>true</showWarnings>
+                            <debug>true</debug>
                         </configuration>
                     </plugin>
                     <plugin>
@@ -513,6 +549,7 @@
                                 </goals>
                                 <configuration>
                                     <outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+                                    <silent>true</silent>
                                     <artifactItems>
                                         <artifactItem>
                                             <groupId>${xerces.groupId}</groupId>
@@ -653,7 +690,7 @@
 
     <licenses>
         <license>
-            <name>Apache 2</name>
+            <name>The Apache Software License, Version 2.0</name>
             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
             <distribution>repo</distribution>
         </license>
@@ -694,11 +731,11 @@
 
     <scm>
         <!-- The property svn.relative.location is set by the project that inherits from this super POM -->
-        <connection>scm:svn:https://svn.shibboleth.net/${svn.relative.location}</connection>
-        <developerConnection>scm:svn:https://svn.shibboleth.net/${svn.relative.location}
+        <connection>scm:svn:https://svn.shibboleth.net${svn.relative.location}</connection>
+        <developerConnection>scm:svn:https://svn.shibboleth.net${svn.relative.location}
 		</developerConnection>
         <tag>HEAD</tag>
-        <url>http://svn.shibboleth.net/view/${svn.relative.location}</url>
+        <url>http://svn.shibboleth.net/view${svn.relative.location}</url>
     </scm>
 
     <developers>



More information about the commits mailing list