blob: b8429b6d73b978a7e280612d3aceaf64afc02c7a [file] [log] [blame]
---
layout: post
title: 'Apache Maven Shared Component: Maven Dependency Analyzer Version 1.12.0'
date: '2022-01-29T00:00:00+00:00'
categories: maven
---
<div class="entry-content"><p>The Apache Maven team is pleased to announce the release of the
<a href="https://maven.apache.org/shared/maven-dependency-analyzer/">Apache Maven Shared Component: Maven Dependency Analyzer Version 1.12.0</a></p>
<p>Analyzes the dependencies of a project for undeclared or unused artifacts.</p>
<p>You should specify the version in your project&rsquo;s dependency list:</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">&lt;dependency&gt;</span>
</span><span class='line'> <span class="nt">&lt;groupId&gt;</span>org.apache.maven.shared<span class="nt">&lt;/groupId&gt;</span>
</span><span class='line'> <span class="nt">&lt;artifactId&gt;</span>maven-dependency-analyzer<span class="nt">&lt;/artifactId&gt;</span>
</span><span class='line'> <span class="nt">&lt;version&gt;</span>1.12.0<span class="nt">&lt;/version&gt;</span>
</span><span class='line'><span class="nt">&lt;/dependency&gt;</span>
</span></code></pre></td></tr></table></div></figure>
<!-- more -->
<p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317922&amp;version=12348814">Release Notes &ndash; Maven Dependency Analzyer Version 1.12.0</a></p>
<ul>
<li><p>Bugs:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-785">MSHARED-785</a> &ndash; ConstantPoolParser false-positives</li>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-997">MSHARED-997</a> &ndash; Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer</li>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-1021">MSHARED-1021</a> &ndash; Handle different classes from same artifact used by model and test code</li>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-1023">MSHARED-1023</a> &ndash; dependency:analyze detected wrong transitive dependency</li>
</ul>
</li>
<li><p>New Features:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-632">MSHARED-632</a> &ndash; Expose which dependency classes are used and where</li>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-1020">MSHARED-1020</a> &ndash; Include class names in used undeclared dependencies</li>
</ul>
</li>
<li><p>Improvement:</p>
<ul>
<li><a href="https://issues.apache.org/jira/browse/MSHARED-982">MSHARED-982</a> &ndash; Use OpCodes.ASM9 (ASM 9.2)</li>
</ul>
</li>
</ul>
<p>Enjoy,</p>
<p>-The Apache Maven team</p>
</div>