This gist has 4 files: https://gist.github.com/3052189
- a pom.xml with one dependency (activemq-camel) * a gradle build file with maven+java plugins, and the same dependency * output of ‘gradle dependencies’ * output of ‘mvn dependency:tree’
Why are the outputs not equal? The gradle dependencies are missing a lot of transitive dependencies, like activemq-core, which is a transitive compile scoped dependency.
In fact, it seems like Gradle only “follows” the two first top-level dependencies for their transitive dependencies (slf4j-api and camel-jms). What about the rest?
Gradle 1.0 Gradle build time: Tuesday, June 12, 2012 12:56:21 AM UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.2 compiled on December 20 2010 Ivy: 2.2.0 JVM: 1.6.0_33 (Apple Inc. 20.8-b03-424) OS: Mac OS X 10.6.8 x86_64
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)