You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/01/21 22:36:37 UTC
[jira] Commented: (BUILDR-25) Buildr is not getting the
dependencies of dependent artifacts
[ https://issues.apache.org/jira/browse/BUILDR-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561133#action_12561133 ]
Assaf Arkin commented on BUILDR-25:
-----------------------------------
Build 1.2 doesn't handle transitive dependencies by default, we're planning something for a future release.
We do have limited support right now using the transitive() function, so you can do this:
compile.with transitive(XJC)
> Buildr is not getting the dependencies of dependent artifacts
> -------------------------------------------------------------
>
> Key: BUILDR-25
> URL: https://issues.apache.org/jira/browse/BUILDR-25
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Reporter: K. Adam Christensen
> Fix For: 1.2.10
>
>
> 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".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.