Maven doesn't care what is running out there, apache, nexus, proximity, artifactory, archiva...but you need to tell it about it. Have you added your repository to either the pom or settings (preferred)? The distribution management is to tell maven how to upload not download.
Assuming you have your repos configured it should just work. If the question is how to force a download, use dependency:resolve -----Original Message----- From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 12:55 PM To: Maven Users List Subject: RE: Resolving an artifact (plugin problem) Yes, artifactory the maven2 proxy software. I am trying to retrieve a number of artifacts from our release repository. I cannot guarantee that the artifacts are in the local repository (I can almost guarantee they aren't). I then need to resolve these artifacts and retrieve their attached artifacts. This is easy to do if you have the artifacts in the local repository. Our artifactory repository does not show up in project.getRemoteArtifactRepositories(). I have a couple of other things I can and will try, but I was hoping that somebody else had already solved the problem. The distribution management we use for our projects is <distributionManagement> <snapshotRepository> <id>snapshots</id> <url>dav:http://redcat:8081/artifactory/libs-snapshots</url> </snapshotRepository> <repository> <id>releases</id> <url>dav:http://redcat:8081/artifactory/libs-releases</url> </repository> <site> <id>redcat</id> <url> scpexe://10.20.20.15/var/maven/sites </url> </site> </distributionManagement> -----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 12:38 PM To: Maven Users List Subject: Re: Resolving an artifact (plugin problem) Artifactory, as in the Maven2 proxy software? I guess I don't understand your question. Can you explain more? What exactly is the problem you're running into that prompts this email? Wayne On 3/25/08, Sommers, Elizabeth <[EMAIL PROTECTED]> wrote: > Is there anyway to resolve an artifact when the only repository you > should be able to find it in is artifactory? There is no chance that > the artifact will be in my local repository and the same goes for > remote repositories (we are deploying our projects straight to artifactory). > > Thanks in advance for any help. > > Liz Sommers > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]
