maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ansell (JIRA)" <>
Subject [jira] [Commented] (MJAVADOC-485) Upgrade to commons-lang3
Date Thu, 06 Jul 2017 01:51:00 GMT


Peter Ansell commented on MJAVADOC-485:

I can't reproduce the MJAVADOC-488 issue using the 3.0.0-SNAPSHOT in trunk (but I can replicate
it using 2.10.4, which is why I am here). This is despite the commons-lang:2.6 version still
being present in the pom.xml file, so it may not be a complete duplicate of this issue, as
the "9" versus "9-ea" runtime failure seems to be fixed already. 

There is still a warning about illegal reflective access by commons-lang, which was downgraded
by default from failure in previous 9-ea releases to just a warning in 9b175 to give people
time to fix their code:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.commons.lang.builder.EqualsBuilder (file:/home/mint/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar)
to field java.util.ArrayList.serialVersionUID
WARNING: Please consider reporting this to the maintainers of org.apache.commons.lang.builder.EqualsBuilder
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access
WARNING: All illegal access operations will be denied in a future release

There are still test failures when building the trunk maven-javadoc-plugin with JDK-9. However,
running javadoc:javadoc on a Java-9 built project after using JDK-9b175 to build maven-javadoc-plugin
with "-DskipTests" seems to be still creating useful javadoc HTML pages so the test failures
aren't signals that it is completely broken:


Results :

Failed tests: 
  org.apache.maven.plugin.javadoc.JavadocReportTest#testDocfiles AssertionFailedError
  org.apache.maven.plugin.javadoc.JavadocReportTest#testJavadocResources AssertionFailedError
  org.apache.maven.plugin.javadoc.JavadocReportTest#testTagletArtifacts AssertionFailedError
Tests in error: 
  org.apache.maven.plugin.javadoc.FixJavadocMojoTest#testFix MavenInvocationException
  org.apache.maven.plugin.javadoc.FixJavadocMojoTest#testFixJdk5 MavenInvocationException
  org.apache.maven.plugin.javadoc.FixJavadocMojoTest#testFixJdk6 MavenInvocationException
  org.apache.maven.plugin.javadoc.JavadocReportTest#testJdk5 MojoExecutionException

Tests run: 59, Failures: 3, Errors: 4, Skipped: 0

> Upgrade to commons-lang3
> ------------------------
>                 Key: MJAVADOC-485
>                 URL:
>             Project: Maven Javadoc Plugin
>          Issue Type: Dependency upgrade
>    Affects Versions: 2.10.4
>            Reporter: Philippe Marschall
> The plugin is currently on commons-lang 2.6, the most recent version is 3.6.
> [The upgrade |] is fairly
trivial expect one point, {{SystemUtils.JAVA_VERSION_FLOAT}} is no longer available. For some
parts there are easy fixes but for {{AbstractJavadocMojo}} the simplest fix seemed to use

This message was sent by Atlassian JIRA

View raw message