[ https://issues.apache.org/jira/browse/FLINK-7679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245711#comment-16245711 ]
Greg Hogan commented on FLINK-7679: ----------------------------------- So it looks like Scala 2.12+ is required for Java 9. > Upgrade maven enforcer plugin to 3.0.0-M1 > ----------------------------------------- > > Key: FLINK-7679 > URL: https://issues.apache.org/jira/browse/FLINK-7679 > Project: Flink > Issue Type: Sub-task > Components: Build System > Reporter: Ted Yu > Assignee: Hai Zhou UTC+8 > > I got the following build error against Java 9: > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-maven) > on project flink-parent: 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 > [ERROR] ----------------------------------------------------- > [ERROR] realm = plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 > [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/home/hbase/.m2/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.4.1/maven-enforcer-plugin-1.4.1.jar > {code} > Upgrading maven enforcer plugin to 3.0.0-M1 would get over the above error. -- This message was sent by Atlassian JIRA (v6.4.14#64029)