Hi Andrew, Thank you for your email. I tried putting "changingPattern=".*-SNAPSHOT" into my ivysettings.xml (as this appears to be the only noticable real difference. Unfortunately ivy still fails to resolve to the SNAPSHOT. I understand you don't have much experience with maven snapshots, so perhaps someone else might be able to lend a hand. Thank you for your help anyway :-)
-=david=- On 9 February 2010 10:45, Andrew Thorburn <[email protected]> wrote: > It seems it requires a little more work to get snapshots set up in > Ivy. Have a look at this link (I don't use Maven Snapshots, so I can't > be of much further help, sorry): > > http://www.mail-archive.com/[email protected]/msg01752.html > > - Andrew > > On Tue, Feb 9, 2010 at 10:06 PM, David Harrigan <[email protected]> wrote: >> Hiya, >> >> I'm trying to figure out how I can get ivy to pull in these deps: >> >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache/ehcache/ >> >> In my ivy.xml I have: >> >> <!-- EHCACHE --> >> <dependency org="net.sf.ehcache" name="ehcache" rev="2.0.0-SNAPSHOT" >> conf="runtime->default"/> >> <dependency org="net.sf.ehcache" name="ehcache-core" >> rev="2.0.0-SNAPSHOT" conf="runtime->default"/> >> >> I've got an ivysettings.xml configured as: >> >> <ivysettings> >> <settings defaultResolver="ibiblio" /> >> <resolvers> >> <ibiblio name="ibiblio" m2compatible="true" /> >> <url name="sourceforge-ehcache" m2compatible="true" > >> <ivy >> pattern="http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/[module]/[module]/[revision]/ivy-[revision].xml" >> /> >> <artifact >> pattern="http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/[module]/[module]/[revision]/[artifact]-[revision].[ext]" >> /> >> </url> >> </resolvers> >> <modules> >> <module organisation="net.sf.ehcache" name="*" >> resolver="sourceforge-ehcache" /> >> </modules> >> </ivysettings> >> >> However, when I run ivy, I get this error: >> >> [ivy:retrieve] >> [ivy:retrieve] :: problems summary :: >> [ivy:retrieve] :::: WARNINGS >> [ivy:retrieve] module not found: >> net.sf.ehcache#ehcache;2.0.0-SNAPSHOT >> [ivy:retrieve] ==== sourceforge-ehcache: tried >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache/ehcache/2.0.0-SNAPSHOT/ivy-2.0.0-SNAPSHOT.xml >> [ivy:retrieve] -- artifact >> net.sf.ehcache#ehcache;2.0.0-SNAPSHOT!ehcache.jar: >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache/ehcache/2.0.0-SNAPSHOT/ehcache-2.0.0-SNAPSHOT.jar >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache/ehcache/2.0.0-SNAPSHOT/ehcache.jar >> [ivy:retrieve] module not found: >> net.sf.ehcache#ehcache-core;2.0.0-SNAPSHOT >> [ivy:retrieve] ==== sourceforge-ehcache: tried >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache-core/ehcache-core/2.0.0-SNAPSHOT/ivy-2.0.0-SNAPSHOT.xml >> [ivy:retrieve] -- artifact >> net.sf.ehcache#ehcache-core;2.0.0-SNAPSHOT!ehcache-core.jar: >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache-core/ehcache-core/2.0.0-SNAPSHOT/ehcache-core-2.0.0-SNAPSHOT.jar >> [ivy:retrieve] >> http://oss.sonatype.org/content/repositories/sourceforge-snapshots/net/sf/ehcache-core/ehcache-core/2.0.0-SNAPSHOT/ehcache-core.jar >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:retrieve] :: net.sf.ehcache#ehcache;2.0.0-SNAPSHOT: not found >> [ivy:retrieve] :: net.sf.ehcache#ehcache-core;2.0.0-SNAPSHOT: not >> found >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: >> [ivy:retrieve] >> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >> >> I've tried playing around with the location of the [module] and >> [revision] variable's but can't seem to resolve my problem. >> >> I was wondering if any kind person could help me out please? >> >> Thank you >> >> -=david=- >> >
