Wayne,

I did indeed read the manual and even search the web for examples before 
posting on this list; My mvn installation (3.0.3) doesn't:

* Recognize repositoryUrl, I get an 'repositoryUrl' for goal 
org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or invalid'
* remoteRepositories is completely ignored

Macintosh:walker josevnz$ mvn dependency:get 
-DrepositoryUrl=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 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.560s
[INFO] Finished at: Mon Jan 16 17:35:35 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: The parameters 'repositoryUrl' for goal 
org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or invalid 
-> [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/PluginParameterException

I came with 'repoUrl' after seeing other users playing with it. That gets rid 
of the message above.

The original problem still remains, not sure why the plugin is failing back to 
the mirror URL.

--Jose


On Jan 16, 2012, at 5:30 PM, Wayne Fay wrote:

>> 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?'
>> 
>> Macintosh:walker josevnz$ mvn dependency:get
>> -DrepoUrl=http://localhost:8080/archiva/repository/stupidzombie
>> -Dartifact=com.stupidzombie:walker:0.1
> 
> As nicely as I can say it... did you Read The Fine Manual?
> https://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html
> 
> Also, where did you come up with -DrepoUrl? That doesn't appear to be
> a valid parameter for this plugin.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

Reply via email to