Robert, you don't understand me. For example I made a tiny tweak to randomizedrunner, so version 1.0.0 in maven repo is too old for me:
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.carrotsearch.randomizedtesting%22%20AND%20a%3A%22randomizedtesting-runner%22 at the same time there is a "snapshot" build at sonatype: https://oss.sonatype.org/content/repositories/snapshots/com/carrotsearch/randomizedtesting/randomizedtesting-runner/1.1.0-SNAPSHOT/ but can't use this because this repository will not be picked up by ivy (on jenkins for example). I also cannot just put the binary JAR to the lucene repository. Not to mention the snapshot JAR is a moving target so I'd have to reference a particular snapshot version to fetch... I can work around this locally and sure, I can release a public maven release but doing this for every single tiny tweak will, well horrible. Dawid On Sat, Apr 14, 2012 at 2:32 PM, Robert Muir <[email protected]> wrote: > It works perfectly fine. > > if you have foo-1.0.jar and you want to test foo-2.0.jar, you comment > out foo-1.0 from ivy.xml and put foo-2.0.jar in lib. > > This isnt maven, we dont have to deal with crazy snapshot repositories. > > On Sat, Apr 14, 2012 at 8:28 AM, Dawid Weiss > <[email protected]> wrote: >> That's not going to work because ivy puts the original JAR in there >> and I'd have to overwrite that one (ugly); living with two JARs in >> different versions under lib/ is even worse. At the same time ivy >> cannot resolve a snapshot JAR because snapshot repos are not in the >> default resolver chain. >> >> I did temporarily resolve the problem by using ivysettings.xml but if >> we're ever in the need of using snapshot JARs (not in maven repo) on >> trunk then we'll face this issue again (for integration builds for >> example). >> >> Dawid >> >> On Sat, Apr 14, 2012 at 2:25 PM, Robert Muir <[email protected]> wrote: >>> just put the jar in lib/ >>> >>> On Sat, Apr 14, 2012 at 5:45 AM, Dawid Weiss <[email protected]> wrote: >>>> Does anybody know how to make ivy work with a snapshot repository (for >>>> example sonatype's snapshots)? Or even a local JAR dependency? From >>>> what I see it's ivysettings blah blah but where do I put it and what >>>> do I put inside? >>>> >>>> Dawid >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> >>> -- >>> lucidimagination.com >>> >>> --------------------------------------------------------------------- >>> 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] >> > > > > -- > lucidimagination.com > > --------------------------------------------------------------------- > 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]
