Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Using Buildr to manage dependencies can be less reliable than using Maven in some cases. Take for instance the following:
In a pom, I have the following XML:
------------------------------------------------------------------------------
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.0.3</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>2.0.3</version>
</dependency>
------------------------------------------------------------------------------
Then in my buildfile I have:
------------------------------------------------------------------------------
XJC = [com.sun.xml.bind:jaxb-impl:jar:2.0.3', 'com.sun.xml.bind:jaxb-xjc:jar:2.0.3']
compile.with XJC
------------------------------------------------------------------------------
When you examine the classpath for maven it includes other jars like "activation.jar", "jaxb-api", "jsr173_api" and downloads them, while Buildr just includes "jaxb-xjc" and "jaxb-impl".