| --- |
| 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’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"><dependency></span>
|
| </span><span class='line'> <span class="nt"><groupId></span>org.apache.maven.shared<span class="nt"></groupId></span>
|
| </span><span class='line'> <span class="nt"><artifactId></span>maven-dependency-analyzer<span class="nt"></artifactId></span>
|
| </span><span class='line'> <span class="nt"><version></span>1.12.0<span class="nt"></version></span>
|
| </span><span class='line'><span class="nt"></dependency></span>
|
| </span></code></pre></td></tr></table></div></figure>
|
|
|
|
|
|
|
|
|
| <!-- more -->
|
|
|
|
|
| <p><a href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317922&version=12348814">Release Notes – 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> – ConstantPoolParser false-positives</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MSHARED-997">MSHARED-997</a> – Failed / error test DefaultProjectDependencyAnalyzerTest in maven-dependency-analyzer</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MSHARED-1021">MSHARED-1021</a> – 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> – 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> – Expose which dependency classes are used and where</li>
|
| <li><a href="https://issues.apache.org/jira/browse/MSHARED-1020">MSHARED-1020</a> – 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> – Use OpCodes.ASM9 (ASM 9.2)</li>
|
| </ul>
|
| </li>
|
| </ul>
|
|
|
|
|
| <p>Enjoy,</p>
|
|
|
| <p>-The Apache Maven team</p>
|
| </div> |