[ https://issues.apache.org/jira/browse/MNG-6426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532239#comment-16532239 ]
Hudson commented on MNG-6426: ----------------------------- Build failed in Jenkins: Maven TLP » maven » MNG-6391 #8 See https://builds.apache.org/job/maven-box/job/maven/job/MNG-6391/8/ > IT for MNG-6127 fails on Java 9+ > -------------------------------- > > Key: MNG-6426 > URL: https://issues.apache.org/jira/browse/MNG-6426 > Project: Maven > Issue Type: Bug > Components: Integration Tests > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Major > > Failure on Java 10 in Windows: > {noformat} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project mng-6127-plugin: Compilation failure > [ERROR] > /D:/Entwicklung/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-6127-plugin-execution-configuration-interference/plugin/src/main/java/org/apache/maven/its/mng6127/plugin/TestMojo.java:[67,13] > try-with-resources is not supported in -source 6 > [ERROR] (use -source 7 or higher to enable try-with-resources) > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project mng-6127-plugin: Compilation failure > {noformat} > The compiled plugin uses Java 7, but the code introduced in > ee3cae93ce70f9ff1898b5c10f3cce59898923af autoresets everything to 1.6. > Drop all occurencies of {{maven.compiler.*}} and remove the > try-with-resources statement. -- This message was sent by Atlassian JIRA (v7.6.3#76005)