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

noreply at shibboleth.net noreply at shibboleth.net
Tue Feb 11 10:28:27 EST 2014


Author: iay
Date: Tue Feb 11 10:28:27 2014
New Revision: 224

URL: http://svn.shibboleth.net/view/java-parent-projects?rev=224&view=rev
Log:
JPAR-50: arrange for Cobertura reports to work even if the "release" profile is not selected

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

Modified: java-parent-project-v3/trunk/pom.xml
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/pom.xml?rev=224&r1=223&r2=224&view=diff
==============================================================================
--- java-parent-project-v3/trunk/pom.xml (original)
+++ java-parent-project-v3/trunk/pom.xml Tue Feb 11 10:28:27 2014
@@ -572,6 +572,17 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                    <!--
+                        Change the bytecode verifier so that Cobertura will work.
+                    -->
+                    <argLine>-XX:-UseSplitVerifier</argLine>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
@@ -588,7 +599,12 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>cobertura-maven-plugin</artifactId>
-                <version>2.5.2</version><!-- Upgrading to 2.6 will cause the 'site' target to fail for java-support-->
+                <!--
+                    Upgrading to 2.6 will cause the 'site' target to fail for java-support, and
+                    probably other projects, due to clashing dependencies on versions of
+                    xerces and xalan. For now, just hold at a version that works for us.
+                -->
+                <version>2.5.2</version>
                 <configuration>
                     <aggregate>true</aggregate>
                     <quiet>true</quiet>
@@ -769,14 +785,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <configuration>
-                            <redirectTestOutputToFile>true</redirectTestOutputToFile>
-                            <argLine>-XX:-UseSplitVerifier</argLine>
-                        </configuration>
-                    </plugin>
                 </plugins>
             </build>
         </profile>
@@ -844,6 +852,10 @@
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>
                             <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                            <!--
+                                Change the bytecode verifier so that Cobertura will work.
+                                Endorsed the selected JAXP implementations.
+                            -->
                             <argLine>-Djava.endorsed.dirs=${project.build.directory}/endorsed -XX:-UseSplitVerifier</argLine>
                         </configuration>
                     </plugin>



More information about the commits mailing list