buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <>
Subject How to 'fix' bad pom when using transitive()
Date Sun, 01 Mar 2009 23:32:46 GMT

I just want to depend on spring-2.5.6 using transitive().

Unfortunately, spring declares a dependency on 'javax.ejb:ejb:jar:3.0',
which seems to be not available in public maven repos.

I already tried to do like this:

  transitive(SPRING).reject { |a| == 'javax.ejb' }

but unfortunately buildr tries to get the javax.ejb:ejb pom, so that my
build fails with

  buildr aborted!
  Failed to download javax.ejb:ejb:pom:3.0

Is there a way to fix this issue, e.g. with 'fixing' the pom when it's
loaded via transitive?

Thanx && cheers,

View raw message