The default Ivy settings uses a chain resolver to set precedence. If you haven't reordered that...
On Thu, Jul 16, 2009 at 2:14 PM, Archie Cobbs <[email protected]>wrote: > Not sure why ivy is not respecting your resolver ordering... are you also > setting defaultResolver to ibibilio? > > I don't really use maven so I'm not much help with anything maven related. > > You can read about resourceURL > here< > http://ant.apache.org/ivy/history/latest-milestone/resolver/packager.html > >. > It is very simple, it just points to a directory. > > -Archie > > On Thu, Jul 16, 2009 at 3:42 PM, dgodbey <[email protected]> wrote: > > > > > Archie, > > I really appreciate you working with me on this. > > > > I guess I misunderstand how this works. My ivysettings file has the > ibiblio > > repo listed ABOVE the packager repo. It makes no difference where I put > it. > > To force ivy to get jta from iblio I have to comment out packager. And > for > > the resourceURL attribute, what is that supposed to look like? I tried > > variations on ibiblio: > > resourceURL=" > > > http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[module]-[revision].jar<http://repo1.maven.org/maven2/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bmodule%5D-%5Brevision%5D.jar> > < > http://repo1.maven.org/maven2/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bmodule%5D-%5Brevision%5D.jar > > > > ", > > but I just can't figure it out. Can I use maven2? How? > > Thanks, > > Dave > > > > > > Archie Cobbs-3 wrote: > > > > > > On Thu, Jul 16, 2009 at 2:27 PM, dgodbey <[email protected]> wrote: > > > > > >> Do you know how I can force ivy to get the jta libraries from ibilio > > >> where > > >> manual clicking is not necessary and ignore packager? > > >> > > > > > > You can make ibiblio higher precedence in ivy's resolver list, but of > > > course > > > then that would apply to all modules. > > > > > > You could also set up your own local packager respository containing > only > > > jta and put the archives on a local machine, where your local version > of > > > packager.xml would point to. > > > > > > Finally, you could use the resourceURL attribute and put the jta > archives > > > there (on some local server). > > > > > > -Archie > > > > > > -- > > > Archie L. Cobbs > > > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/Problem-with-javax.transaction.jta-and-ivy-roundup-tp24521540p24524097.html > > Sent from the ivy-user mailing list archive at Nabble.com. > > > > > > > -- > Archie L. Cobbs >
