Apache Maven

Thursday November 01, 2018

Apache Maven Release 3.6.0

The Apache Maven team is pleased to announce the release of the Apache Maven 3.6.0.

Apache 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 piece of information.

You can find out more about Apache Maven at https://maven.apache.org

You can download the appropriate sources etc. from the download page

Code Contributors of this release:

  • Christoph Kunze
  • David Churcher

Issue Reporters of this release:

  • Richard van der Hoff
  • Jörg Sesterhenn
  • Andreas Sewe
  • David Churcher
  • Adam John Burley
  • Alexander Griesbaum
  • Christoph Amshoff
  • Seckin Onur Selamet
  • Phillip Webb
  • John Canny
  • Hoa Phan

Many thanks to contributors and reporters for the support and time.

Participants to the VOTE of the Maven 3.6.0 Release:

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

Many thanks to those who tested the Maven releases and thanks for their support as well.

Release Notes – Maven – Version 3.6.0


  • 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


  • MNG-4508 – No way to avoid adding artifactId to site urls
  • MNG-5951 – add an option to avoid path addition to inherited URLs
  • MNG-6059 – Important use cases not covered, as child.inherit.append.path affects all children
  • 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


  • MNG-6475 – Remove guava dependencies

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 Apache Maven team

Friday June 22, 2018

Apache Maven Release 3.5.4

The Apache Maven team is pleased to announce the release of the Apache Maven 3.5.4.

Apache 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 piece of information.

You can find out more about Apache Maven at https://maven.apache.org

You can download the appropriate sources etc. from the download page: https://maven.apache.org/download.cgi


The Apache Maven value community before code and so firstly the team would like to thank the following contributors, without whom this release would not have been possible:

Code contributors:

Issue reporters:

  • Falko Modler
  • Jarkko Rantavuori
  • Łukasz Dywicki
  • Mike Kelly
  • Sylwester Lachiewicz

Community testers participating in voting for this release:

  • Dejan Stojadinovic
  • Enrico Olivelli
  • Romain Manni-Bucau

Thank you all for your time and feedback (and apologies if we have missed anyone)

Release Notes – Maven – Version 3.5.4


  • MNG-6370 – ConcurrencyDependencyGraph#getNumberOfBuilds() does not remove finished projects from unfinished ones
  • MNG-6372 – On Windows Maven can output spurious ANSI escapes such as [0m [0m
  • MNG-6382 – JANSI fails frequently with NumberFormatException when building in parallel
  • MNG-6386 – ${project.baseUri} is not a valid URI (according to RFC 3986)
  • MNG-6388 – Error Fetching Artifacts: “[B cannot be cast to java.lang.String”
  • MNG-6403 – Artifact#VERSION_FILE_PATTERN does not escape period between date and time
  • MNG-6410 – Add groupId to —resume-from suggestion if artifactId is not unique in reactor


  • MNG-5756 – Java home output in mvn -v is misleading
  • MNG-5940 – Change the maven-source-plugin jar goal into jar-no-fork in Maven Super POM
  • MNG-6362 – Add documentation information for GitHub
  • MNG-6363 – Remove secret thread configuration property from code
  • MNG-6364 – Enhanced Jenkinsfile to test Core with JDK 9
  • MNG-6411 – Improve readability of project list returned when —resume-from option value is invalid


  • MNG-6377 – switch from Git-WIP to Gitbox

Dependency upgrades:

Share and Enjoy,

-The Apache Maven team

Thursday March 08, 2018

Apache Maven Version 3.5.3 Released

Release Notes – Maven 3.5.3

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

Maven 3.5.3 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:

  • the web site: https://maven.apache.org/
  • the maven-user mailing list: https://maven.apache.org/mail-lists.html
  • the reference documentation: https://maven.apache.org/ref/3.5.3/

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.



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

Preliminary Testers

Thank you also for your time and feedback.

Known Issues

One new issue was identified during the release testing. This issue affects Windows users. When running Maven with parallel threads, i.e. the -T command line option, Maven may output spurious ANSI escapes such as [0m [0m MNG-6372

Overview about the changes

  • Issues have been fixed related to colorizations like to clean up the situation while interrupting the build process MNG-6188 and some issues related to Git Bash / Cygwin have been fixed MNG-6282 and the new options -Dstyle.color MNG-6296 has been fixed.

  • The handling CRLF in jvm.config file has been fixed MNG-6255.

  • The wrong usage of the CI friendly version was not correctly identified which has been improved MNG-6305.

  • Wrong encoding of non-ascii filenames has been fixed MNG-6320.

  • Deadlock in dependency resolution has been fixed MNG-6323.

  • A regression related to parents relativePath verification has been fixed MNG-6330.

So now some more interesting things about new (small) features:

  • The log output contains now some progress informations related to the number of modules which looks like this MNG-6302:
[INFO] Building parent 5.0.1-SNAPSHOT                                     [1/9]

The number 1 is the current number which is being built where the 9 in this case is the number of modules which have to be built overall. So we are in module 1 of 9.

Furthermore the information about the packaging type and the groupId/artifactId are now being shown during the build like the following MNG-6308:

[INFO] ------------------< com.soebes.examples.j2ee:parent >-------------------
[INFO] Building parent 5.0.1-SNAPSHOT                                     [1/9]
[INFO] --------------------------------[ pom ]---------------------------------

And finally we have added the version of the modules or the reactor at the end of the build MNG-6352:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] parent 5.0.1-SNAPSHOT .............................. SUCCESS [  0.238 s]
[INFO] domain ............................................. SUCCESS [  0.014 s]
[INFO] service-client ..................................... SUCCESS [  0.008 s]
[INFO] webgui ............................................. SUCCESS [  0.010 s]
[INFO] service ............................................ SUCCESS [  0.007 s]
[INFO] app ................................................ SUCCESS [  0.005 s]
[INFO] appasm ............................................. SUCCESS [  0.005 s]
[INFO] shade .............................................. SUCCESS [  0.006 s]
[INFO] assembly 5.0.1-SNAPSHOT ............................ SUCCESS [  0.005 s]
[INFO] ------------------------------------------------------------------------

This can be helpful if you have a large number of modules to get the information about the version being built. This meant in the past to scroll up to the last module and look there for the version. Now this can simply being seen at the end of build. If you have a multi module build where the number is the same for all modules it will be given only on the first line and the last line. If you have an aggregator build the version will be printed out for each project.

  • One more thing has been optimized. We have removed the System.gc() call at the end of the build because this can cause costs for example on AWS systems related to the time taken to run Garbage Collection which is not really necessary MNG-6340. This means also the resulting output will change a little bit like this:
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.111 s
[INFO] Finished at: 2018-02-25T15:34:10+01:00
[INFO] ------------------------------------------------------------------------

So there is no line anymore telling you about memory stuff.

  • If you have used the deprecated version markers like RELEASE or LATEST this will now produce a WARNING during the build MNG-6342.

The detailed issue list


  • MNG-6188 - Console color not properly reset when interrupting build process
  • MNG-6255 - Maven script cannot parse jvm.config with CRLF
  • MNG-6282 - Console output has no colors in shell (both Git Bash and Cygwin) (regression in Jansi 1.16 / Maven 3.5.1)
  • MNG-6296 - New option -Dstyle.color is not working
  • MNG-6298 - 3.5.2: ClassNotFoundException: javax.annotation.security.RolesAllowed
  • MNG-6300 - Multi module release creates empty directories in war file instead of jars
  • MNG-6305 - Validation of CI friendly version incorrect
  • MNG-6320 - Apparently wrong encoding of non-ascii java class filename in error messages in the maven log
  • MNG-6323 - Deadlock in multithreaded dependency resolution
  • MNG-6330 - (regression) Parents relativePath not verified anymore

New Feature

  • MNG-6302 - Provide some “progress” hints


  • MNG-5992 - Git passwords are exposed as the Super POM still uses Maven Release Plugin 2.3.2
  • MNG-6306 - Replace use of Guava in maven-resolver-provider with a lighter weight alternative
  • MNG-6308 - display packaging & groupId:artifactId when building a module
  • MNG-6332 - Cleaned up mvn.cmd Script
  • MNG-6340 - (Performance) To make System.gc() call configurable in target summary code
  • MNG-6342 - Emit a WARNING about LATEST/RELEASE in parent
  • MNG-6352 - Printout version information at the end of the build


  • MNG-6331 - Remove maven-bundle-pugin from build pluginManagement

Dependency upgrade

  • MNG-6312 - Update Maven Wagon dependency
  • MNG-6335 - Update test framework Mockito from 1.10 to 2.12
  • MNG-6353 - Upgrade maven-shared-utils to 3.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



Hot Blogs (today's hits)

Tag Cloud