You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Patrick (JIRA)" <ji...@apache.org> on 2016/01/03 20:03:39 UTC

[jira] [Created] (MJAR-206) maven-jar-plugin build failure when using Jdk 9

John Patrick created MJAR-206:
---------------------------------

             Summary: maven-jar-plugin build failure when using Jdk 9
                 Key: MJAR-206
                 URL: https://issues.apache.org/jira/browse/MJAR-206
             Project: Maven JAR Plugin
          Issue Type: Bug
    Affects Versions: 2.6, 3.0.0
         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
Maven home: /opt/local/share/java/maven3
Java version: 9-ea, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac"
            Reporter: John Patrick
            Priority: Blocker
             Fix For: 3.0.0


Due to http://openjdk.java.net/jeps/223, Java 9 has change it format for java.version, this causes issue but has been fixed in the latest version of plexus-archiver.

See https://github.com/codehaus-plexus/plexus-archiver/pull/12 for more information

Have patch and will raise pull request.

Fixing the plugin also unblocks building junit and testng, plus probably every other maven project using Java 9.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)