maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJAVADOC-442) Support new jdk9 java version scheme
Date Sun, 17 Apr 2016 08:25:25 GMT

    [ https://issues.apache.org/jira/browse/MJAVADOC-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244570#comment-15244570
] 

Hudson commented on MJAVADOC-442:
---------------------------------

SUCCESS: Integrated in maven-plugins #5701 (See [https://builds.apache.org/job/maven-plugins/5701/])
[MJAVADOC-442] Support JEP 223 new Java 9 version scheme (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1739549])
* maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/JavadocUtil.java
* maven-javadoc-plugin/src/test/java/org/apache/maven/plugin/javadoc/JavadocUtilTest.java


> Support new jdk9 java version scheme
> ------------------------------------
>
>                 Key: MJAVADOC-442
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-442
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>            Reporter: Robert Scholte
>              Labels: jep223
>
> First of all {{JavadocUtil#parseJavadocVersion(String)}} must be improved according to
the specs of [JEP 223|http://openjdk.java.net/jeps/223]
> Next {{AbstractJavadocMojo#setFJavadocVersion(File)}} contains a fallback based on {{SystemUtils.JAVA_VERSION_FLOAT}}
from commons-lang, either rewrite it ourselves or see how commons-lang will solve this.
> consequence:
> {noformat}[INFO] --- maven-javadoc-plugin:2.10.3:javadoc (default-cli) @ version ---
> [WARNING] Unable to find the javadoc version: Unrecognized version of Javadoc: 'java
version "9-ea"
> Java(TM) SE Runtime Environment (build 9-ea+113)
> Java HotSpot(TM) 64-Bit Server VM (build 9-ea+113, mixed mode)
> ' near index 37
> (?s).*?([0-9]+\.[0-9]+)(\.([0-9]+))?.*
>                                      ^
> [WARNING] Using the Java the version instead of, i.e. 0.0{noformat}
> both initial parsing and fallback version are wrong...



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

Mime
View raw message