Hi, I'm trying to use a dual repository, one filesystem local and the other remote - nexus The remote repo has our artefacts from continuous build and the filesystem has from our local build. What I want to happen is to use the latest version from wherever when we run our scripts It would appear that ivy should support this but in practice this isn't working.
We have a chain resolver: <chain name="resolver.snapshot" checkmodified="true" changingPattern=".*SNAPSHOT" returnFirst="false" latest="latest-time"> <filesystem name="local.cache" m2compatible="true" local="false" changingPattern=".*SNAPSHOT" checkmodified="true"> <artifact pattern="${ivy.default.ivy.user.dir}/local/[organisation]/[module]/[type ]s/[artifact]-[revision](-[classifier]).[ext]"/> </filesystem> <ibiblio name="snapshot" m2compatible="true" usepoms="false" root="${snapshot.url}" pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[clas sifier]).[ext]"/> </chain> Where the url resolver is defined as: <url name="snapshot" m2compatible="true" changingPattern=".*SNAPSHOT" checkmodified="true"> <artifact pattern="${snapshot.url}/[organisation]/[module]/[revision]/[artifact]-[ revision](-[classifier]).[ext]"/> </url> What actually happens is the first result is returned depending on if we put the filesystem or ibiblio resolver first, I've tried switching ibiblio to an ivy url resolver and turning off m2compatible but we still have the same problem. Suffer the same problem with the latest build 2.3.0RC2 and the previous build 2.3.0RC1 Is there an obvious mistake or should I raise a ticket? Thanks, M