With Java 8, 'mvn site' fails, probably because of Cobertura being out-of-date.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project java-support: failed to get report for org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project java-support: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: There was an error in the forked process [ERROR] org.testng.TestNGException: [ERROR] An error occurred while instantiating class net.shibboleth.utilities.java.support.collection.CollectionTest: Expecting a stackmap frame at branch target 62 [ERROR] Exception Details: [ERROR] Location: [ERROR] net/shibboleth/utilities/java/support/logic/TransformAndCheckFunction.equals(Ljava/lang/Object;)Z @23: ifnonnull [ERROR] Reason: [ERROR] Expected stackmap frame at this location. [ERROR] Bytecode: [ERROR] 0x0000000: 033d 11ff ff3e 121d 1100 53b8 0023 2b11
My preference is to banish the site plugin, much like the maven-release-plugin.
With Java 8, 'mvn site' fails, probably because of Cobertura being out-of-date.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project java-support: failed to get report for org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project java-support: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: There was an error in the forked process
[ERROR] org.testng.TestNGException:
[ERROR] An error occurred while instantiating class net.shibboleth.utilities.java.support.collection.CollectionTest: Expecting a stackmap frame at branch target 62
[ERROR] Exception Details:
[ERROR] Location:
[ERROR] net/shibboleth/utilities/java/support/logic/TransformAndCheckFunction.equals(Ljava/lang/Object;)Z @23: ifnonnull
[ERROR] Reason:
[ERROR] Expected stackmap frame at this location.
[ERROR] Bytecode:
[ERROR] 0x0000000: 033d 11ff ff3e 121d 1100 53b8 0023 2b11
My preference is to banish the site plugin, much like the maven-release-plugin.