[java-parent-project] branch master updated: JPAR-96 - convert to Java 8, remove Cobertura

Ian Young ian at iay.org.uk
Mon Sep 18 12:10:55 EDT 2017


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=7dc6b62bf364987f09f67ce25783485d12668a19

The following commit(s) were added to refs/heads/master by this push:
       new  7dc6b62   JPAR-96 - convert to Java 8, remove Cobertura
7dc6b62 is described below

commit 7dc6b62bf364987f09f67ce25783485d12668a19
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Sep 18 17:10:46 2017 +0100

    JPAR-96 - convert to Java 8, remove Cobertura
    
    Set both source and target to Java 8.
    Remove two profiles related to Cobertura, which were only active under
    Java 7.
---
 pom.xml | 64 ++--------------------------------------------------------------
 1 file changed, 2 insertions(+), 62 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9a54f35..2876156 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,8 +16,8 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <maven.compiler.source>1.7</maven.compiler.source>
-        <maven.compiler.target>1.7</maven.compiler.target>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
 
         <bouncycastle.version>1.57</bouncycastle.version>
         <cryptacular.version>1.1.2</cryptacular.version>
@@ -998,66 +998,6 @@
                 </repository>
             </repositories>
         </profile>
-        <profile>
-            <id>jdk7-use-split-verifier</id>
-            <activation>
-                <jdk>1.7</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <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>
-        </profile>
-        <profile>
-            <id>jdk7-cobertura</id>
-            <activation>
-                <jdk>1.7</jdk>
-            </activation>
-            <reporting>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>cobertura-maven-plugin</artifactId>
-                        <!--
-                            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>
-                            <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>**/*$1.class</exclude>
-                                    <exclude>**/*$2.class</exclude>
-                                    <exclude>**/*$3.class</exclude>
-                                    <exclude>**/*$4.class</exclude>
-                                    <exclude>**/*$5.class</exclude>
-                                    <exclude>**/*$6.class</exclude>
-                                    <exclude>**/*$7.class</exclude>
-                                    <exclude>**/*$8.class</exclude>
-                                    <exclude>**/*$9.class</exclude>
-                                </excludes>
-                            </instrumentation>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </reporting>
-        </profile>
     </profiles>
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list