Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7BC212005E6 for ; Sun, 30 Jul 2017 18:08:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7A00E16441D; Sun, 30 Jul 2017 16:08:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 99D0B164418 for ; Sun, 30 Jul 2017 18:08:12 +0200 (CEST) Received: (qmail 13693 invoked by uid 500); 30 Jul 2017 16:08:11 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 13682 invoked by uid 99); 30 Jul 2017 16:08:11 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2017 16:08:11 +0000 Received: from desktop-2khsk44 (5248749D.cm-4-1b.dynamic.ziggo.nl [82.72.116.157]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 089541A02C0 for ; Sun, 30 Jul 2017 16:08:09 +0000 (UTC) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Maven Developers List" Subject: Re: [VOTE] Apache Maven Compiler 3.6.2 References: <62124059-712c-5f92-4611-de44ad2d77a5@gmx.de> Date: Sun, 30 Jul 2017 18:08:06 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Robert Scholte" Organization: Apache Software Foundation Message-ID: In-Reply-To: <62124059-712c-5f92-4611-de44ad2d77a5@gmx.de> User-Agent: Opera Mail/12.18 (Win64) archived-at: Sun, 30 Jul 2017 16:08:13 -0000 Hi, All these tests are actually testing other libraries: error-prone-compiler: javac-with-errorprone groovy-project-with-new-plexus-compiler: groovy-eclipse-compiler MCOMPILER-197: true So it means that those libraries nor Java 9 ready, but the maven-compiler-plugin itself is. Robert On Sun, 30 Jul 2017 15:21:51 +0200, Karl Heinz Marbaise wrote: > Hi, > > I have rechecked the whole log files (testing my release checker script > ;-() of the runs and found the following for the JDK 9 tests: > > And yes the error message is correct cause the "modules" in the JDK 9 is > a single file and not a directory...(was there change?)... > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile > (default-compile) on project error-prone-compiler: Fatal error > compiling: CompilerException: InvocationTargetException: > java.nio.file.NotDirectoryException: > /Library/Java/JavaVirtualMachines/jdk1.9.0_ea+180.jdk/Contents/Home/lib/modules > -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile > (default-compile) on project error-prone-compiler: Fatal error compiling > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > > Furthermore I found the following: > > [parsing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/Helloable.groovy > - #1/3] > [parsing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyHello.groovy > - #2/3] > [parsing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyMain.groovy > - #3/3] > [reading groovy/lang/GroovyObject.class] > [reading groovy/lang/MetaClass.class] > [analyzing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/Helloable.groovy > - #1/3] > Annotation processing got disabled, since it requires a 1.6 compliant JVM > ---------- > 1. ERROR in > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/Helloable.groovy > (at line 1) > /* > ^ > [analyzing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyHello.groovy > - #2/3] > [completed > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/Helloable.groovy > - #1/3] > [analyzing > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyMain.groovy > - #3/3] > [completed > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyHello.groovy > - #2/3] > [writing GroovyMain.class - #1] > The type java.lang.Object cannot be resolved. It is indirectly > referenced from required .class files > ---------- > ---------- > 2. ERROR in > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyHello.groovy > (at line 1) > /* > ^ > The type java.lang.String cannot be resolved. It is indirectly > referenced from required .class files > ---------- > [completed > /Users/kama/maven-release-checker/release-test/jdk1.9.0_ea+180.jdk/apache-maven-3.0.5/maven-compiler-plugin-3.6.2/target/it/groovy-project-with-new-plexus-compiler/src/main/groovy/GroovyMain.groovy > - #3/3] > [3 units compiled] > [1 .class file generated] > [INFO] Compilation complete. Compiled 3 files. > [DEBUG] incrementalBuildHelper#afterRebuildExecution > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > > > > So for JDK 9 there is a problem in there... > > [INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ > maven-compiler-plugin --- > [INFO] There is 1 error reported by Checkstyle 6.1.1 with > config/maven_checks.xml ruleset. > [INFO] Ignored 1 error, 0 violation remaining. > [INFO] > [INFO] --- maven-invoker-plugin:2.0.0:verify (integration-test) @ > maven-compiler-plugin --- > [INFO] ------------------------------------------------- > [INFO] Build Summary: > [INFO] Passed: 36, Failed: 3, Errors: 0, Skipped: 0 > [INFO] ------------------------------------------------- > [ERROR] The following builds failed: > [ERROR] * error-prone-compiler/pom.xml > [ERROR] * groovy-project-with-new-plexus-compiler/pom.xml > [ERROR] * MCOMPILER-197/pom.xml > [INFO] ------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2:56.376s > [INFO] Finished at: Sun Jul 30 14:03:11 CEST 2017 > [INFO] Final Memory: 37M/128M > > > Unfortunately my script handled that not correctly...;-(...(Needs > improvements).. > > Kind regards > Karl Heinz Marbaise > > On 29/07/17 15:44, Karl Heinz Marbaise wrote: >> Hi, >> Tested the following (via mvn -Prun-its clean verify) >> JDK 1.7.0_79: Maven 3.5.0, 3.3.9, 3.3.1, 3.2.5, 3.1.1, 3.0.5 >> JDK 1.8.0_131: Maven 3.5.0, 3.3.9, 3.3.1, 3.2.5, 3.1.1, 3.0.5 >> JDK 1.8.0_144: Maven 3.5.0, 3.3.9, 3.3.1, 3.2.5, 3.1.1, 3.0.5 >> JDK 1.9.0EA+180: Maven 3.5.0, 3.3.9, 3.3.1, 3.2.5, 3.1.1, 3.0.5 >> So +1 from me. >> Kind regards >> Karl Heinz Marbaise >> On 26/07/17 01:44, Olivier Lamy wrote: >>> Hi, >>> I'd like to release Apache Maven Compiler Plugin version 3.6.2. >>> >>> We fixed 3 issues: >>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317225&version=12339154 >>> Staging repo: >>> https://repository.apache.org/content/repositories/maven-1348/ >>> >>> Source release: >>> * >>> https://repository.apache.org/content/repositories/maven-1348/org/apache/maven/plugins/maven-compiler-plugin/3.6.2/maven-compiler-plugin-3.6.2-source-release.zip >>> Staging site: >>> http://maven.apache.org/components/plugins-archives/maven-compiler-plugin-LATEST/ >>> Guide to testing staged releases: >>> https://maven.apache.org/guides/development/guide-testing-releases.html >>> >>> Vote open for at least 72 hours. >>> >>> [ ] +1 >>> [ ] +0 >>> [ ] -1 >>> >>> My +1 >>> >>> Cheers >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org