Please follow the instructions at http://wiki.jfrog.org/confluence/display/RTF/Configuring+Artifacts+Resolutionand you'll be fine. Mirror-any by itself without a repository definition is not enough for overriding snapshot resolution.
Yoav On Fri, Apr 17, 2009 at 2:56 PM, Rüdiger Gubler <[email protected]> wrote: > > Hi, > > I can't access snapshots in my artifactory. > > The jat is deployed with mvn deploy > ... > Uploading: > > http://pc489:80/artifactory/libs-local/com/initka/bprocess/gisinterface/0.0.1-SNAPSHOT/gisinterface-0.0.1-20090417.113758-2.jar > ... > > in an other module i have the following entry > > <dependency> > <groupId>com.initka.bprocess</groupId> > <artifactId>gisinterface</artifactId> > <version>0.0.1-SNAPSHOT</version> > </dependency> > > If my local repository is empty i get the following error > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) com.initka.bprocess:gisinterface:jar:0.0.1-SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=com.initka.bprocess > -DartifactId=gisinterface -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=com.initka.bprocess > -DartifactId=gisinterface -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.initka.bprocess:giskernel:jar:0.0.1 > 2) com.initka.bprocess:gisinterface:jar:0.0.1-SNAPSHOT > > > My settings contains > > <mirrors> > <mirror> > <id>artifactory</id> > <mirrorOf>*</mirrorOf> > <url>http://pc489/artifactory/repo</url> > <name>artifactory</name> > </mirror> > </mirrors> > > > The libs-local repository is configured to handle releases and snapshots. > I also tried separate repositories for releases and snapshots. > If I deploy a release of the jar it is found. > > What is going wrong? > > > -- > View this message in context: > http://www.nabble.com/can%27t-access-snapshots-tp23096088p23096088.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
