Yeah... I was afraid you were going to say that... (though I kind of got there from reading the docs).
Ignacio's thing is basically what I did, created a local module with the jclouds JARs. I guess the questions are 1. Was he using CDI in his app? 2. Was he using JClouds 1.6 or 1.7? I'm kind of tied closely w/ CDI as my IoC runtime. I would also hope libraries would not be IoC oriented, letting the app pick up whatever appropriate wiring is needed.. sometimes it's a pipe dream. :-) John On Wed, Jan 29, 2014 at 11:10 PM, Andrew Phillips <[email protected]> wrote: >> trying to bring in jclouds to my main webapp. I deploy to JBoss AS >> 7.1.1 and use lots of CDI. Weld leverages Guava, 11.0.2. It looks >> like you use 15.0. Is it possible, in any way, to not use your >> guava/guice dependencies? > > > I've afraid Guava and Guice are both pretty much integral to jclouds, so > using it without them isn't really an option I've seen anyone get to work > well. > > The oldest version of Guava you could get away with in jclouds is 14.0.1, > which is what the 1.6.x branch of jclouds uses. 1.7.x is on Guava 15 and > master is on Guava 16. Plan currently is not to be upgrading the major Guava > version on these branches, so if you can 1.6.x/Guava 14 to work, you should > be OK with that for a while. > > For what it's worth, Ignacio de Córdoba recently got jclouds working in > JBoss 7, if that helps you in any way: > > http://markmail.org/message/tclzg5rsskagtkfu > > He may have some more tips that could help? > > Regards > > ap
