_posts/2020-02-13-apache-maven-shade-plugin-version3.html (110 lines of code) (raw):
---
layout: post
status: PUBLISHED
published: true
title: Apache Maven Shade Plugin version 3.2.2 Released
id: 601cebf2-3428-4bcc-9a7f-d32a96e1bc1a
date: '2020-02-13 23:24:11 -0500'
categories: maven
tags:
- maven-plugin
permalink: maven/entry/apache-maven-shade-plugin-version3
---
<div class="entry-content">
<p>The Apache Maven team is pleased to announce the release of the <a href="http://maven.apache.org/plugins/maven-shade-plugin/">Apache<br />
Maven Shade Plugin, version 3.2.2</a>.</p>
<p>This plugin provides the capability to package the artifact in an uber-jar,<br />
including its dependencies and to shade – i.e. rename – the packages of some of<br />
the dependencies.</p>
<p>You should specify the version in your project’s plugin configuration:</p>
<figure class='code'>
<figcaption><span></span></figcaption>
<div class="highlight">
<table>
<tr>
<td class="gutter">
<pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
</pre>
</td>
<td class='code'>
<pre><code class='xml'><span class='line'><span class="nt"><plugin></span>
</span><span class='line'> <span class="nt"><groupId></span>org.apache.maven.plugins<span class="nt"></groupId></span>
</span><span class='line'> <span class="nt"><artifactId></span>maven-shade-plugin<span class="nt"></artifactId></span>
</span><span class='line'> <span class="nt"><version></span>3.2.2<span class="nt"></version></span>
</span><span class='line'><span class="nt"></plugin></span>
</span></code></pre>
</td>
</tr>
</table>
</div>
</figure>
<p>You can download the <a href="https://maven.apache.org/shared/maven-archiver/download.cgi">appropriate sources etc. from the download page</a></p>
<p><!-- more --></p>
<p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317921&version=12344059">Release Notes – Maven Shade Plugin – Version 3.2.2</a></p>
<ul>
<li>
<p>Bugs:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-223">MSHADE-223</a> – Endless processing when promoteTransitiveDependencies=true</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-284">MSHADE-284</a> – Shaded test JARs are always empty</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-291">MSHADE-291</a> – shadedPattern applied multiples times when relocating the contents of META-INF/services files</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-298">MSHADE-298</a> – Groovy extension module transformer looking in incorrect META-INF directory</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-309">MSHADE-309</a> – issue tracker link on the web site of shade plugin does not work.</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-311">MSHADE-311</a> – Bad exclusions in dependency-reduced-pom.xml</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-315">MSHADE-315</a> – Broken link on Maven Shade Plugin</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-318">MSHADE-318</a> – Specifically included class’s dependencies are missing</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-331">MSHADE-331</a> – Issue Tracker link is not working – Page Not Found</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-337">MSHADE-337</a> – Relocation cannot process class file version 58 JARs</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-339">MSHADE-339</a> – Shaded test jar has wrong type “jar”</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-340">MSHADE-340</a> – Shaded test jar artifact is not attached</li>
</ul>
</li>
<li>
<p>New Features:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-306">MSHADE-306</a> – Log all duplicates, not only classes</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-347">MSHADE-347</a> – Reproducible Builds: make entries in output jar files reproducible</li>
</ul>
</li>
<li>
<p>Improvements:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-285">MSHADE-285</a> – It should be possible to shade test sources as a JAR</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-313">MSHADE-313</a> – Minimize jar should respect implementations under /META-INF/services/</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-316">MSHADE-316</a> – Minijar: <excludeDefaults>true</excludeDefaults></li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-319">MSHADE-319</a> – Group output into included and excluded artifacts to easily identify them</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-348">MSHADE-348</a> – Make build Reproducible</li>
</ul>
</li>
<li>
<p>Test:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-327">MSHADE-327</a> – improved integration test coverage for relocation and minification</li>
</ul>
</li>
<li>
<p>Tasks:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-322">MSHADE-322</a> – Provide a transformer for properties files</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-330">MSHADE-330</a> – Java 12 and 13 support</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-346">MSHADE-346</a> – Introduce mock repository manager for testing</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-350">MSHADE-350</a> – Enable ManifestResourceTransformer to rewrite the manifest with relocations</li>
</ul>
</li>
<li>
<p>Dependency upgrades:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-320">MSHADE-320</a> – Upgrade maven-artifact-transfer to 0.11.0</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-338">MSHADE-338</a> – Upgrade maven-artifact-transfer 0.12.0</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-341">MSHADE-341</a> – Upgrade plexus-utils 3.3.0</li>
<li><a href="https://issues.apache.org/jira/browse/MSHADE-349">MSHADE-349</a> – Upgrade to org.ow2.asm:asm:7.3.1</li>
</ul>
</li>
</ul>
<p>Enjoy,</p>
<p>-The Apache Maven team</p>
</div>