[
https://issues.apache.org/jira/browse/MJAR-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080504#comment-15080504
]
ASF GitHub Bot commented on MJAR-206:
-------------------------------------
GitHub user nhojpatrick opened a pull request:
https://github.com/apache/maven-plugins/pull/76
Java 9 fixes
maven-jar-plugin and maven-javadoc-plugin require
org.codehaus.plexus:plexus-archiver:3.0.3-SNAPSHOT
plexus-archiver has had a critical change due to Java 9 changes to the
java.version property
see https://github.com/codehaus-plexus/plexus-archiver/pull/12 for more
information about the fix
this fix also unblocks building both junit and testng at a minimum, plus
potentially any other maven project using either of these two plugins
Linked to;
https://issues.apache.org/jira/browse/MJAR-206
https://issues.apache.org/jira/browse/MJAVADOC-443
https://github.com/junit-team/junit/issues/1233
https://github.com/cbeust/testng/issues/938
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nhojpatrick/maven-plugins
bugfix/jdk9-build-fixes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-plugins/pull/76.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #76
----
commit c3b71838e6d67822d7e8d1318f3cf730e76bb43b
Author: John Patrick <[email protected]>
Date: 2016-01-03T18:53:39Z
Java 9 fixes
maven-jar-plugin and maven-javadoc-plugin require
org.codehaus.plexus:plexus-archiver:3.0.3-SNAPSHOT
plexus-archiver has had a critical change due to Java 9 changes to the
java.version property
see https://github.com/codehaus-plexus/plexus-archiver/pull/12 for more
information about the fix
this fix also unblocks building both junit and testng at a minimum, plus
potentially any other maven project using either of these two plugins
----
> 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)