Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven dependency tree different from M2E's Dependency Hierarchy
    text
    copied!<p>I'm building a Java Project <code>MaterialsDep</code> that is a plugin for project <code>craftbukkit</code> [loaded in my workspace and a direct dependency of MaterialsDep of type jar and scope compile]. Looking at MaterialsDep's pom's dependency hierarchy in eclipse all jars needed by CB show up as resolved and listed correctly. However running <code>mvn dependency:copy-dependencies</code> on project AP only copies direct dependencies and nothing else.</p> <p>Running dependency:tree shows:</p> <pre><code>[INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ MaterialsDep --- [INFO] MaterialsDep:MaterialsDep:jar:0.0.1-SNAPSHOT [INFO] +- org.bukkit:craftbukkit:jar:1.3.1-R1.1-SNAPSHOT:compile [INFO] +- org.pircbotx:pircbotx:jar:1.7:compile [INFO] \- org.bukkit:bukkit:jar:1.3.1-R1.1-SNAPSHOT:compile </code></pre> <p>which are the direct dependencies.</p> <p>How should I go about ensuring that <code>craftbukkit</code>'s dependency are recognized and copied ?</p> <p><strong>[EDIT]</strong></p> <p><code>dependency:tree</code> for craftbukkit:</p> <pre><code>[INFO] org.bukkit:craftbukkit:jar:1.3.1-R1.1-SNAPSHOT [INFO] +- org.bukkit:bukkit:jar:1.3.1-R1.1-SNAPSHOT:compile [INFO] +- org.bukkit:minecraft-server:jar:1.3.1:compile [INFO] +- net.sf.jopt-simple:jopt-simple:jar:3.2:compile [INFO] +- jline:jline:jar:2.6:compile [INFO] +- org.fusesource.jansi:jansi:jar:1.8:compile [INFO] +- org.xerial:sqlite-jdbc:jar:3.7.2:compile [INFO] +- mysql:mysql-connector-java:jar:5.1.14:compile [INFO] +- org.avaje:ebean:jar:2.7.3:provided [INFO] | \- javax.persistence:persistence-api:jar:1.0:provided [INFO] +- org.yaml:snakeyaml:jar:1.9:provided [INFO] +- com.google.guava:guava:jar:10.0:provided [INFO] | \- com.google.code.findbugs:jsr305:jar:1.3.9:provided [INFO] +- commons-lang:commons-lang:jar:2.3:provided [INFO] +- junit:junit-dep:jar:4.10:test [INFO] +- org.hamcrest:hamcrest-library:jar:1.2.1:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.2.1:test [INFO] \- com.google.code.gson:gson:jar:2.1:compile </code></pre>
 

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