Hello All,

I'm trying to download an artifact from my release repository (called 
stupidzombie) but instead mvn tries to get it from the internal repository. Any 
ideas why the repoUrl is being twisted?'

The output of my attempts below.


Macintosh:walker josevnz$ mvn dependency:get 
-DrepoUrl=http://localhost:8080/archiva/repository/stupidzombie 
-Dartifact=com.stupidzombie:walker:0.1
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building walker 0.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.1:get (default-cli) @ walker ---
Downloading: 
http://localhost:8080/archiva/repository/internal/com/stupidzombie/walker/0.1/walker-0.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.668s
[INFO] Finished at: Mon Jan 16 17:16:55 EST 2012
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on 
project walker: Couldn't download artifact: Failure to find 
com.stupidzombie:walker:jar:0.1 in 
http://localhost:8080/archiva/repository/internal/ was cached in the local 
repository, resolution will not be reattempted until the update interval of 
archiva.default has elapsed or updates are forced
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.stupidzombie -DartifactId=walker 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file 
there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.stupidzombie -DartifactId=walker 
-Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR] com.stupidzombie:walker:jar:0.1
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR] archiva.default (http://localhost:8080/archiva/repository/internal/, 
releases=true, snapshots=false),
[ERROR] archiva.default (http://localhost:8080/archiva/repository/internal/, 
releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Macintosh:walker josevnz$ 


Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to