buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sathwik B P <sathwik...@gmail.com>
Subject RuntimeError : Unsatisfied dependency xmlbeans -> org.apache.xmlbeans:xmlbeans:jar:2.3.0 -> [">", #<Gem::Version "2.6.0">] not satisfied by 2.6.0
Date Sat, 14 Jun 2014 09:34:56 GMT
Hi Guys,

Am encountering this error message when I am trying to build Apache ODE.

RuntimeError : Unsatisfied dependency xmlbeans ->
org.apache.xmlbeans:xmlbeans:jar:2.3.0 -> [">", #<Gem::Version "2.6.0">]
not satisfied by 2.6.0

We have xmlbeans dependency version as 2.6.0
https://github.com/apache/ode/blob/master/Rakefile#L35


Build environment details as follows,

~/apps/jruby-1.7.12/bin/jruby -S gem list

*** LOCAL GEMS ***

atoulme-Antwrap (0.7.4 java)
bouncy-castle-java (1.5.0147)
builder (3.2.2)
buildr (1.4.17 java)
bundler (1.6.2)
diff-lcs (1.2.4)
hoe (3.7.1)
jruby-openssl (0.9.3, 0.8.10)
jruby-pageant (1.1.1 java)
json (1.8.0 java)
json_pure (1.8.0)
krypt (0.0.2.rc1)
krypt-core (0.0.2.rc1 universal-java)
krypt-provider-jdk (0.0.2.rc1)
minitar (0.5.4)
net-sftp (2.1.2)
net-ssh (2.7.0)
orderedhash (0.0.6)
rake (10.1.0, 0.9.2.2)
rdoc (4.0.1)
rspec (2.14.1)
rspec-core (2.14.5)
rspec-expectations (2.14.3)
rspec-mocks (2.14.3)
rubyforge (2.0.4)
rubyzip (0.9.9)
xml-simple (1.1.2)


I had to replace the line
*ns.xmlbeans! 'org.apache.xmlbeans:xmlbeans:jar:2.3.0', '>2'*
with
*ns.xmlbeans! 'org.apache.xmlbeans:xmlbeans:jar:>=2.3.0'*
in file
/jruby-1.7.12/lib/ruby/gems/shared/gems/buildr-1.4.17-java/addon/buildr/xmlbeans.rb

This change successfully starts ODE build.

Is this a bug or is there any other way to fix this?

regards,
sathwik

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message