Release Notes – Maven 3.6.0

The Apache Maven team would like to announce the release of Maven 3.6.0

Maven 3.6.0 is available for download.

Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central place.

The core release is independent of the plugins available. Further releases of plugins will be made separately. See the PluginList for more information.

We hope you enjoy using Maven! If you have any questions, please consult:

Reporters and Contributors of this release

We really value the contributions of these non committers, so this section is focused on those individuals. Descriptions of the issues fixed can be found at the end of these release notes.

Code Contributors of this release:

Issue Reporters of this release:

Many thanks to all reporters and contributors for their time and support.

Preliminary Testers

Thanks to the following preliminary testers:

  • Filipe Sousa
  • Eric Lilja
  • Enrico Olivelli
  • Gary Gregory
  • Thomas Collignon

Known Issues

At the time of release, there are no known regressions introduced by this release.

Overview about the changes

  • There had been issues related to the project discoverytime which has been increased in previous version which influenced some of our users. This should have been fixed MNG-6311, MNG-6383 and MNG-6412.

  • The output in the reactor summary has been improved MNG-6391 cause it confused people. In Maven 3.6.0 the reactor summary now looks like the following:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for parent 5.0.4-SNAPSHOT:
[INFO]
[INFO] parent ............................................. SUCCESS [  1.559 s]
[INFO] domain ............................................. SUCCESS [  1.238 s]
[INFO] service-client ..................................... SUCCESS [  0.108 s]
[INFO] webgui ............................................. SUCCESS [  0.652 s]
[INFO] service ............................................ SUCCESS [  0.379 s]
[INFO] app ................................................ SUCCESS [  0.304 s]
[INFO] appasm ............................................. SUCCESS [  0.265 s]
[INFO] shade .............................................. SUCCESS [  0.440 s]
[INFO] assembly ........................................... SUCCESS [  1.531 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.824 s
[INFO] Finished at: 2018-11-01T12:20:16+01:00
[INFO] ------------------------------------------------------------------------

The parent in the above output is the artifact name of the root module and the 5.0.4-SNAPSHOT is the versions number for all modules in this reactor build.

If you have an aggregator pom which contains different modules with different versions each line will contain the appropriate versions which looks like this:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Maven ACR Plugin 3.0.1-SNAPSHOT ............. SUCCESS [  0.221 s]
[INFO] Apache Maven AntRun Plugin 3.0.0-SNAPSHOT .......... SUCCESS [  0.004 s]
[INFO] Apache Maven Changelog Plugin 2.4-SNAPSHOT ......... SUCCESS [  0.005 s]
[INFO] Apache Maven Changes Plugin 3.0.0-SNAPSHOT ......... SUCCESS [  0.487 s]
[INFO] Apache Maven Clean Plugin 3.0.1-SNAPSHOT ........... SUCCESS [  0.003 s]
[INFO] Apache Maven Compiler Plugin 3.7.1-SNAPSHOT ........ SUCCESS [  0.026 s]
[INFO] Apache Maven Deploy Plugin 3.0.0-SNAPSHOT .......... SUCCESS [  0.005 s]
[INFO] Apache Maven Documentation Checker Plugin 1.2-SNAPSHOT SUCCESS [  0.058 s]
[INFO] Apache Maven EAR Plugin 3.0.0-SNAPSHOT ............. SUCCESS [  0.003 s]
[INFO] Apache Maven EJB Plugin 3.0.1-SNAPSHOT ............. SUCCESS [  0.004 s]
...
  • There was an issue related to the classpath ordering MNG-6415 in Maven which can cause issues which has been fixed.

The detailed issue list

Bugs:

  • MNG-6311 - Maven intolerably slow when import scope used heavily in large project
  • MNG-6358 - Maven build should not require access to apache.org
  • MNG-6383 - ProjectBuilder unnecessarily rebuilds modules with ci-friendly versions
  • MNG-6412 - Exceeding project discovery time when using CI friendly versions
  • MNG-6415 - Project Artifacts Cache does not retain the order of classpath entries.
  • MNG-6472 - Mockito cannot mock this class: interface org.eclipse.aether.impl.RepositoryEventDispatcher
  • MNG-6490 - Maven shall not fail reporting circular dependency when the dependency is a classified secondary artifact

Improvements:

  • MNG-4508 - No way to avoid adding artifactId to site urls
  • MNG-5951 - add an option to avoid path addition to inherited URLs
  • MNG-6164 - Collections inconsistently immutable
  • MNG-6391 - Printout version of last built module in reactor build
  • MNG-6414 - Add more Apache license header patterns to skip downloading Apache license
  • MNG-6467 - Remove plugin definition from pom file which is inherited
  • MNG-6480 - Eclipse.org site is down, and you are unable to build Maven?
  • MNG-6492 - Minor improvement on Array construction, converson

Task

Dependency upgrades

  • MNG-6424 - Upgrade plexus-interpolation to 1.25
  • MNG-6449 - Upgrade parent to 32
  • MNG-6473 - Update Mockito to 2.21.0
  • MNG-6478 - Upgrade parent to 33 for sha512 checksum on release
  • MNG-6479 - Upgrade XMLUnit to 2.2.1
  • MNG-6486 - Upgrade to Wagon 3.2.0
  • MNG-6489 - Upgrade Maven Resolver to 1.3.0
  • MNG-6491 - Upgrade commons-lang3 to 3.8.1
  • MNG-6496 - Upgrade Maven Resolver to 1.3.1
  • MNG-6497 - Upgrade guice to 4.2.1

The full list of changes can be found in our issue management system.

Complete Release Notes

See complete release notes for all versions