Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page summarizes currently known problems when running with java8, latest beta (1.8.0-ea-b119b124).

see also MNG-5551 for compilations issues

Related continuous integration job is https://builds.apache.org/view/M-R/view/Maven/  

...

Issues registered by the Apache Maven team can found be found by label apache-maven-found

maven

...

embedded mode does not work due to sun bug 9009028 - System.setProperties(null) corrupts java.home, turned into JDK-8030781. This affects at least maven-core and surefire.

...

shade-plugin

Believed MSHADE-166 Believed to have substantial problems due to ASM 5 being required. ASM5 has a tentative release date in march, with a current beta version and possibly another beta later.

fixed in 2.3 (released on 2014-05-02)

maven-compiler-plugin

The current compiler plugin should work on java8, as long as you stay away from the error-prone compiler. The compiler plugin IT's fail on JDK8 because the error-prone-compiler does not work with JDK8. plexus-compiler has adaptations for error-prone on branch MCOMPILER217, but error prone IT fails on m-c-p. https://code.google.com/p/error-prone/issues/detail?id=224

...

Running forkMode=never was fixed in 2.17 (unreleased as of yet). Building surefire on jdk8 requires using the -Dverifier.forkMode=once option (due to maven-verifier embedded mode issue).released on 2014-03-16). Requires b124

maven-javadoc-plugin

The javadoc executable has become stricter compared to previous versions:

...

The -Xdoclint option allows you to disable some or all of the new checks provided by javadoc.  You can disable the reference checks with -Xdoclint:all,-reference

See https://jira.codehaus.org/browse/ MSITE-701 for the details.

Another issue is that the excludedocfilessubdir option is ignored with Windows7, org.apache.maven.plugin.javadoc.JavadocReportTest.testJavadocResources() fails when trying to confirm that the maven-feather.png hasn't been copied (watch it, it's the third assertion for the feather!)

...