Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I have POMs with dependencies declared under <code>dependencyManagement</code> and they are just shown as expected in the <strong>Dependency Graph</strong> and <strong>Dependency Hierarchy</strong> tabs. </p> <p>For example, I have a parent POM with:</p> <pre><code> &lt;dependencyManagement&gt; &lt;dependencies&gt; &lt;!-- SL4J API --&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt; &lt;version&gt;${slf4j.version}&lt;/version&gt; &lt;/dependency&gt; &lt;!-- SLF4J JDK14 Binding --&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;slf4j-jdk14&lt;/artifactId&gt; &lt;version&gt;${slf4j.version}&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt; &lt;version&gt;${slf4j.version}&lt;/version&gt; &lt;/dependency&gt; ... &lt;/dependencyManagement&gt; </code></pre> <p>And a child POM with:</p> <pre><code> &lt;dependencies&gt; ... &lt;!-- Logging --&gt; &lt;dependency&gt; &lt;groupId&gt;org.slf4j&lt;/groupId&gt; &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt; &lt;/dependency&gt; ... &lt;/dependencies&gt; </code></pre> <p>And the <strong>Dependency Graph</strong> of the child just works:</p> <p><img src="https://i.stack.imgur.com/uyAwX.png" alt="alt text"></p> <p>Are the dependencies you moved under <code>dependencyManagement</code> actually <strong>also</strong> declared as dependencies? Can you show a simplified <code>pom.xml</code> illustrating the problem?</p> <hr> <blockquote> <p>The tooling works at the child module level. I am referring to it not working at the parent level.</p> </blockquote> <p>Dependencies declared in the <code>dependencyManagement</code> element are not <code>dependencies</code> of the project (if I declare <code>foo</code> in the <code>dependencyManagement</code>, I'm still not depending on <code>foo</code>). If the parent doesn't declare any <code>dependencies</code>, there is nothing to show. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload