Re: dependency lookup url
You want a settings like this: http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-gro up.html On 3/11/09 1:25 PM, mcystems mcyst...@googlemail.com wrote: I tried every possible combination on settings.xml: without mirrors, with mirrors defining snapshot a release repositories remove them. Nothing. It seems that the build-in central repository configuration cannot be override in settings.xml. While I debugged maven I find that the central repository policy is always disabled no matter what. However! If I put my snapshot repository url into the projects pom.xml it works. Csaba On Tue, 2009-03-10 at 16:29 -0700, Wayne Fay wrote: I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). You still need to declare a snapshot-enabled repo somewhere in your settings.xml. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency lookup url
Please see: http://wiki.jfrog.org/confluence/display/RTF/Configuring+Artifacts+Resolution On Wed, Mar 11, 2009 at 10:25 PM, mcystems mcyst...@googlemail.com wrote: I tried every possible combination on settings.xml: without mirrors, with mirrors defining snapshot a release repositories remove them. Nothing. It seems that the build-in central repository configuration cannot be override in settings.xml. While I debugged maven I find that the central repository policy is always disabled no matter what. However! If I put my snapshot repository url into the projects pom.xml it works. Csaba On Tue, 2009-03-10 at 16:29 -0700, Wayne Fay wrote: I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). You still need to declare a snapshot-enabled repo somewhere in your settings.xml. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency lookup url
I tried every possible combination on settings.xml: without mirrors, with mirrors defining snapshot a release repositories remove them. Nothing. It seems that the build-in central repository configuration cannot be override in settings.xml. While I debugged maven I find that the central repository policy is always disabled no matter what. However! If I put my snapshot repository url into the projects pom.xml it works. Csaba On Tue, 2009-03-10 at 16:29 -0700, Wayne Fay wrote: I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). You still need to declare a snapshot-enabled repo somewhere in your settings.xml. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency lookup url
Is there a way to get the generated dependency lookup url form maven 2.0.10? For non snapshot dependency everything works fine, but when I want to use a snapshot version maven fails to find it, even the file is in the repo. You probably need to enable Snapshots in your repo definition in settings.xml. Don't forget a corresponding pluginRepository node if you're trying to pull down a snapshot version of a plugin. http://maven.apache.org/settings.html#Repositories Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency lookup url
I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). Is there a way to find this out or should I run maven from source? :) my settings.xml: settings mirrors mirror idartifactory/id mirrorOf*/mirrorOf urlhttp://salsa.frubia.private:10001/artifactory/repo/url nameArtifactory/name /mirror /mirrors servers server idartifactory/id username/username password/password /server /servers /settings Thanks, Csaba Is there a way to get the generated dependency lookup url form maven 2.0.10? For non snapshot dependency everything works fine, but when I want to use a snapshot version maven fails to find it, even the file is in the repo. You probably need to enable Snapshots in your repo definition in settings.xml. Don't forget a corresponding pluginRepository node if you're trying to pull down a snapshot version of a plugin. http://maven.apache.org/settings.html#Repositories Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependency lookup url
I'm mirroring everything to my artifactory instance (maybe that is misconfigured/bugy but since I don't know the lookup url I can't figure out). You still need to declare a snapshot-enabled repo somewhere in your settings.xml. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org