Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-25

Buildr is not getting the dependencies of dependent artifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.2.10
    • Dependency management
    • 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".

      Attachments

        Activity

          People

            assafarkin Assaf Arkin
            pope K. Adam Christensen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: