buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spiewak (JIRA)" <>
Subject [jira] Created: (BUILDR-58) Transitive Dependency Resolution Fails on Edge Cases
Date Sat, 29 Mar 2008 01:02:24 GMT
Transitive Dependency Resolution Fails on Edge Cases

                 Key: BUILDR-58
             Project: Buildr
          Issue Type: Bug
          Components: Dependency management
    Affects Versions: 1.2.10
         Environment: Windows Vista
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
            Reporter: Daniel Spiewak
            Priority: Critical

It looks like transitive dependency resolution fails when the dependencies include one of
the two following cases (may be more, this is what I've seen):

 * Non-maven artifact (download artifact(BLAH))
 * Maven artifact with only POM (no JAR)

Reproduce with the following buildfile:


DATABINDER_AO = 'net.databinder:databinder-app-ao:jar:1.2-alpha1'
HSQLDB = 'hsqldb:hsqldb:jar:'
SL4J_JDK = 'org.slf4j:slf4j-jdk14:jar:1.4.2'
JETTY = group('jetty','jetty-util','jetty-ajp', 'servlet-api-2.5', :under => 'org.mortbay.jetty',
:version => '6.1.7')

DBPOOL_VERS = '4.8.3'
DBPOOL = "snaq.db.dbpool:dbpool:jar:#{DBPOOL_VERS}"
download artifact(DBPOOL) => "{DBPOOL_VERS}.jar"

repositories.remote << ''
repositories.remote << ''
repositories.remote << ''

define 'FreakyWiki' do
  project.version = '0.1'
  package :jar
  compile.with transitive(DATABINDER_AO, HSQLDB, \
      DBPOOL, \
      SL4J_JDK, JETTY)


To reproduce the second case, comment out the DBPOOL dependency.  I can attach traces if you
like, but this description is already pretty long.

Marking as "Critical" because it's extremely important to what I'm doing with Buildr.  Obviously
things work fine if I just resolve all of the dependencies myself, but that throws a bit of
a wrench into the works for my use-case.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message