I've spent a little time on this but I couldn't get it to work. Ivy doesn't seem to read the ~/.ivy2/ivysettings.xml by default and the config in there, even if overriden, is hazy to me.
I'll just go with the flow. Dawid On Fri, Mar 30, 2012 at 10:44 PM, Greg Bowyer <[email protected]> wrote: > You can get ivy to treat the local maven repo as a resolver host I think the > required config is along the lines of > > ---- %< ---- > <resolvers> > <filesystem name="local-maven-2" m2compatible="true" force="false" > local="true"> > <artifact > pattern="${gerald.repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].[ext]"/> > <ivy > pattern="${gerald.repo.dir}/[organisation]/[module]/[revision]/[module]-[revision].pom"/> > </filesystem> > </resolvers> > ... > </settings> > > <chain name="whatever" dual="true" > checkmodified="true" changingPattern=".*SNAPSHOT"> > <resolver ref="local-maven-2"/> > <resolver ref="apache-snapshot"/> > <resolver ref="maven2"/> > ... > </chain> > > ---- >% ---- > > -- Greg > > > On 30/03/12 13:27, Dawid Weiss wrote: >>> >>> But honestly, i have no idea how ivy works. its just like ant to me. i >>> just hack and hack and hack until it works. >> >> You're a live randomized solver! >> >> Dawid >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
