Closed toniedzwiedz closed 4 years ago
I've switched from Java 8 a while back and it appears I'm not able to build the project with Java 11. I've tried both Oracle and AdaptOpenJDK.
It seems the issue is with the Maven Surefire plugin. It's not explicitly added as a dependency to the pom.xml but version 2.20.1 is used and it crashes for the reasons outlined in https://issues.apache.org/jira/browse/SUREFIRE-1440, due to a dependency on Apache Commons Lang (https://issues.apache.org/jira/browse/LANG-1365)
pom.xml
The project should be possible to build with both Java 8 and 11
Be sure to update https://github.com/Cognifide/AEM-Rules-for-SonarQube/blob/master/.travis.yml
Resolved by #196
I've switched from Java 8 a while back and it appears I'm not able to build the project with Java 11. I've tried both Oracle and AdaptOpenJDK.
It seems the issue is with the Maven Surefire plugin. It's not explicitly added as a dependency to the
pom.xml
but version 2.20.1 is used and it crashes for the reasons outlined in https://issues.apache.org/jira/browse/SUREFIRE-1440, due to a dependency on Apache Commons Lang (https://issues.apache.org/jira/browse/LANG-1365)The project should be possible to build with both Java 8 and 11
Be sure to update https://github.com/Cognifide/AEM-Rules-for-SonarQube/blob/master/.travis.yml