2 min read

On Monday, the Apache Maven team announced the release of the Apache Maven Javadoc Plugin, version 3.1.0. The Javadoc Plugin uses the Javadoc tool to generate javadocs for a specified project. It gets the parameter values that will be used from the plugin configuration specified in the pom. The plugin can also be used to package the generated javadocs into a jar file for distribution.

What’s new in Maven Javadoc Plugin version 3.1.0?

New features include the support for aggregated reports at each level in the multi-module hierarchy. The dependency has also been upgraded to parent pom 32.

Changes made to the repository

  • The aggregate goal doesn’t respect managed dependencies
  • detectLinks may pass invalid URLs to javadoc(1)
  • Invalid ‘expires’ attribute
  • <link> entries that do not redirect are ignored and those that point to a resource that requires an Accept header may be ignored

Other improvements:

  • The plugin adds an ‘aggregated-no-fork’ goal
  • The Command line dump reveals proxy user/password in case of errors
  • The plugin ignores module-info.java on earlier Java versions
  • Additionalparam documentation has been cleaned up
  • Element-list links from java10 dependencies are now supported
  • Reports are now allowed to be generated in Spanish locale
  • The default value for removeUnknownThrows is changed to true
  • Proxy configuration now properly works for both HTTP and HTTPS
  • Patterns are used for defaultJavadocApiLinks
  • Typos are fixed in User Guide.
  • Groups parameter is not compatible with Surefire

Other fixes:

  • duplicates lines are fixed in the javadoc
  • JavadocOptionsXpp3Reader doesn’t deserialize the placement element
  • <additionalOption> input isn’t escaped for double backslashes
  • links option is ignored in offline mode, even for local links in argument file in tag
  • Maven Javadoc Plugin can’t get dependency from third-party maven repository

These are just a select few updates. For more details, head over to the mailing list archives.

Read Next

Apache NetBeans IDE 10.0 released with support for JDK 11, JUnit 5 and more!

Twitter adopts Apache Kafka as their Pub/Sub System

Apache Spark 2.4.0 released

Content Marketing Editor at Packt Hub. I blog about new and upcoming tech trends ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development.