You could define the artifact task for that particular signature to just create a dummy JAR file. I forget the syntax, but I think it is something like this:

artifact 'javax.ejb:ejb:jar:3.0' do |f|
  touch f
end

Daniel

On Mar 1, 2009, at 5:32 PM, Martin Grotzke <[email protected]> wrote:

Hi,

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 s.th. like this:

 transitive(SPRING).reject { |a| a.group == '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,
Martin

Reply via email to