_posts/2021-08-15-apache-maven-3-8-2.html (145 lines of code) (raw):
---
layout: post
status: PUBLISHED
published: true
title: Apache Maven 3.8.2 Released
id: c4a60824-9a71-4def-81e4-611804a97088
date: '2021-08-15 13:34:44 -0400'
categories: maven
tags:
- maven-core-release
permalink: maven/entry/apache-maven-3-8-2
---
<p>Apache Maven is a software project management and comprehension tool. Based on the concept<br />
of a project object model (POM), Maven can manage a project’s build, reporting and documentation<br />
from a central piece of information.</p>
<p>Maven 3.8.2 is available via <a href="https://maven.apache.org/download.cgi">https://maven.apache.org/download.cgi</a></p>
<p>The core release is independent of plugin releases. Further releases of plugins will be made<br />
separately.</p>
<p>If you have any questions, please consult:</p>
<ul>
<li>the web site: <a href="https://maven.apache.org/">https://maven.apache.org/</a></li>
<li>the maven-user mailing list: <a href="https://maven.apache.org/mailing-lists.html">https://maven.apache.org/mailing-lists.html</a></li>
<li>the reference documentation: <a href="https://maven.apache.org/ref/3.8.2/">https://maven.apache.org/ref/3.8.2/</a></li>
</ul>
<p>Release Notes – Maven – Version 3.8.2</p>
<ul>
<li>
<p>Sub-task</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-6281">MNG-6281</a> – ArrayIndexOutOfBoundsException caused by pom.xml with invalid/duplicate XML</li>
</ul>
</li>
<li>
<p>Bugs:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-4706">MNG-4706</a> – Multithreaded building can create bad files for downloaded artifacts in local repository</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-5307">MNG-5307</a> – NPE during resolution of dependencies – parallel mode</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-5315">MNG-5315</a> – Artifact resolution sporadically fails in parallel builds</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-5838">MNG-5838</a> – Maven on No-File-Lock Systems</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-5868">MNG-5868</a> – Adding serval times the same artifact via MavenProjectHelper (attachArtifact) keep adding to the List duplicate artifacts</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6071">MNG-6071</a> – GetResource (‘/) returns ‘null’ if build is started with -f</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6216">MNG-6216</a> – ArrayIndexOutOfBoundsException when parsing POM</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6239">MNG-6239</a> – Jansi messes up System.err and System.out</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6380">MNG-6380</a> – Option -Dstyle.color=always doesn’t force color output</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6604">MNG-6604</a> – Intermittent failures while downloading GAVs from Nexus</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6648">MNG-6648</a> – ‘mavenrc_pre’ script does not receive arguments like mavenrc in Bourne shell does</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6719">MNG-6719</a> – mvn color output escape keys w/ “| tee xxx.log” on Win with git/bash</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6737">MNG-6737</a> – StackOverflowError when version ranges are unsolvable and graph contains a cycle</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6767">MNG-6767</a> – Plugin with ${project.groupId} resolved improperly</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6819">MNG-6819</a> – NullPointerException for DefaultArtifactDescriptorReader.loadPom</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6828">MNG-6828</a> – DependencyResolutionException breaks serialization</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6842">MNG-6842</a> – ProjectBuilderTest uses Guava, but Guava is not defined in dependencies</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6843">MNG-6843</a> – Parallel build fails due to missing JAR artifacts in compilePath</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6850">MNG-6850</a> – Prevent printing the EXEC_DIR when it’s just a disk letter</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6921">MNG-6921</a> – Maven compile with properties ${artifactId} and ${project.build.finalName} occurs java.lang.NullPointerException</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6937">MNG-6937</a> – StringSearchModelInterpolatorTest fails on symlinked paths</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6964">MNG-6964</a> – Maven version sorting is internally inconsistent</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6983">MNG-6983</a> – Plugin key can get out of sync with artifactId and groupId</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7000">MNG-7000</a> – metadata.mdo contains invalid link to schema</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7032">MNG-7032</a> – Option -B still showing formatting when used with —version</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7034">MNG-7034</a> – StackOverflowError thrown if a cycle exists in BOM imports</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7090">MNG-7090</a> – mvnDebug does not work on Java 11+</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7127">MNG-7127</a> – NullPointerException in MavenCliTest.testStyleColors in JDK 16</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7155">MNG-7155</a> – make sources jar reproducible (upgrade maven-source-plugin to 3.2.1)</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7161">MNG-7161</a> – Error thrown during uninstalling of JAnsi</li>
</ul>
</li>
<li>
<p>New Feature</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-7149">MNG-7149</a> – Introduce MAVEN_DEBUG_ADDRESS in mvnDebug scripts</li>
</ul>
</li>
<li>
<p>Improvements:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-2802">MNG-2802</a> – Concurrent-safe access to local Maven repository</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6471">MNG-6471</a> – Parallel builder should use the module name as thread name</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6754">MNG-6754</a> – Set the same timestamp in multi module builds</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6810">MNG-6810</a> – Remove profiles in maven-model</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6811">MNG-6811</a> – Remove unnecessary filtering configuration</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6816">MNG-6816</a> – Prefer System.lineSeparator() over system properties</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6827">MNG-6827</a> – Replace deprecated StringUtils#defaultString() from Plexus Utils</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6837">MNG-6837</a> – Simplify detection of the MAVEN_HOME and make it fully qualified on Windows</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6844">MNG-6844</a> – Use StandardCharsets and remove outdated @SuppressWarnings</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6853">MNG-6853</a> – Don’t box primitives where it’s not needed</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6859">MNG-6859</a> – Build not easily reproducible when built from source release archive</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6873">MNG-6873</a> – Inconsistent library versions notice</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6967">MNG-6967</a> – Improve the command line output from maven-artifact</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6987">MNG-6987</a> – Reorder groupId before artifactId when writing an exclusion using maven-model</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7010">MNG-7010</a> – Omit “NB: JAVA_HOME should point to a JDK not a JRE” except when that is the problem</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7064">MNG-7064</a> – Use HTTPS for schema location in global settings.xml</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7080">MNG-7080</a> – Add a —color option</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7170">MNG-7170</a> – Allow to associate pomFile/${basedir} with DefaultProjectBuilder.build(ModelSource, …)</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7180">MNG-7180</a> – Make —color option behave more like BSD/GNU grep’s —color option</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7181">MNG-7181</a> – Make —version support -q</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7185">MNG-7185</a> – Describe explicit and recommended version for VersionRange.createFromVersionSpec()</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7190">MNG-7190</a> – Load mavenrc from /usr/local/etc also in Bourne shell script</li>
</ul>
</li>
<li>
<p>Tasks:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-6598">MNG-6598</a> – Maven 3.6.0 and Surefire problem</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6884">MNG-6884</a> – Cleanup POM File after version upgrade</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7172">MNG-7172</a> – Remove expansion of Jansi native libraries</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7184">MNG-7184</a> – document .mavenrc/maven_pre.bat|cmd scripts and MAVEN_SKIP_RC environment variable</li>
</ul>
</li>
<li>
<p>Dependency upgrades:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MNG-6872">MNG-6872</a> – Found CVEs in your dependencies – plexus-utils (tests)</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6874">MNG-6874</a> – Upgrade Maven Parent to 34</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6886">MNG-6886</a> – Upgrade plexus-cipher 1.8</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-6993">MNG-6993</a> – Upgrade SLF4J to 1.7.30</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7152">MNG-7152</a> – Upgrade Maven Resolver to 1.6.3</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7177">MNG-7177</a> – Upgrade Maven Shared Utils to 3.3.4</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7179">MNG-7179</a> – Upgrade Jansi to 2.3.3</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7186">MNG-7186</a> – Upgrade Guice to 4.2.2</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7196">MNG-7196</a> – Upgrade Jansi to 2.3.4</li>
<li><a href="https://issues.apache.org/jira/browse/MNG-7198">MNG-7198</a> – Upgrade SLF4J to 1.7.32</li>
</ul>
</li>
<li>
<p>Known Issues:</p>
<ul>
<li>If any of your plugin mojos spawn new threads there might be a change in class loading as a result of the<br />
fix for <a href="https://issues.apache.org/jira/browse/MNG-6843.">https://issues.apache.org/jira/browse/MNG-6843.</a><br />
See <a href="https://lists.apache.org/thread.html/r0777c9e364f93a609cb4c3da6e634139b9c400166e280856ee25ba72%40%3Cdev.maven.apache.org%3E">https://lists.apache.org/thread.html/r0777c9e364f93a609cb4c3da6e634139b9c400166e280856ee25ba72%40%3Cdev.maven.apache.org%3E</a><br />
with a possible fix for your plugin mojo as well as a potential general fix<br />
in <a href="https://issues.apache.org/jira/browse/MNG-7212.">https://issues.apache.org/jira/browse/MNG-7212.</a></li>
<li>If any or your projects rely a Maven Core artifacts and your build is performed with Maven 3.8.1 or later a transitive<br />
dependency parent of Sisu Plexus/CPI API 1.0 will inject a remote repository over HTTP which will be blocked by<br />
default and (might) lead to build failures.<br />
See <a href="https://lists.apache.org/thread.html/rda29028b2c8985f3b94e721d3014a948b312fbddf95ffaa4971acc03%40%3Cusers.maven.apache.org%3E">https://lists.apache.org/thread.html/rda29028b2c8985f3b94e721d3014a948b312fbddf95ffaa4971acc03%40%3Cusers.maven.apache.org%3E</a><br />
and <a href="https://issues.apache.org/jira/browse/MNG-7214">https://issues.apache.org/jira/browse/MNG-7214</a> for details.</li>
</ul>
</li>
</ul>
<p>For more information read <a href="https://maven.apache.org/docs/3.8.2/release-notes.html">https://maven.apache.org/docs/3.8.2/release-notes.html</a></p>
<p>Enjoy!</p>
<ul>
<li>The Maven Team</li>
</ul>