Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0-M0
Description
- Fresh clone of the master branch
- Switch to JDK 11
java version "11" 2018-09-25 Java(TM) SE Runtime Environment 18.9 (build 11+28) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Use Apache Maven 3.6.1
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T23:30:29+04:30)
Run:
mvn clean install
See below:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-maven) on project syncope: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: java.lang.ExceptionInInitializerError: null
Related issue:
https://issues.apache.org/jira/browse/MENFORCER-274
Switching to 3.0.0.M2 version of plugin allows for a successful build.
Attachments
Issue Links
- is caused by
-
MENFORCER-274 Use of RequireJavaVersion with Java-9 breaking starting at b175
- Closed
- links to