getting the correct plugin.

2006-10-11 Thread Patrick Moore
Hi there- 

I am trying to use the maven-dependency-plugin in the
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/
directory. I have specified:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
version2.0-SNAPSHOT/version
/plugin

However, it keeps picking up the old version dependency-maven-plugin-1.0! How
do I get maven to stop trying to use the old version?

mvn dependency:sources
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] org.codehaus.mojo: checking for updates from apache.snapshots
[INFO] org.codehaus.mojo: checking for updates from mortbay-repo
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for updates
from apache.snapshots
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for updates
from mortbay-repo
[WARNING] repository metadata for: 'artifact
org.codehaus.mojo:dependency-maven-
plugin' could not be retrieved from repository: mortbay-repo due to an error:
Er
ror transferring file
[INFO] Repository 'mortbay-repo' will be blacklisted
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for updates
from central
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-pl
ugin/1.0/dependency-maven-plugin-1.0.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/m
ojo/mojo/5/mojo-5.pom
[WARNING] Unable to get resource from repository apache.snapshots
(http://people
.apache.org/repo/m2-snapshot-repository)
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/5/mojo-5.pom
4K downloaded
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/m
ojo/dependency-maven-plugin/1.0/dependency-maven-plugin-1.0.jar
[WARNING] Unable to get resource from repository apache.snapshots
(http://people
.apache.org/repo/m2-snapshot-repository)
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-pl
ugin/1.0/dependency-maven-plugin-1.0.jar
15K downloaded
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Required goal not found: dependency:sources
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Oct 11 17:33:29 PDT 2006
[INFO] Final Memory: 1M/3M
[INFO] 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: getting the correct plugin.

2006-10-11 Thread Dan Tran

try

2.0-ALPHA-1-SNAPSHOT

It is the current development version of 2.0

-D


On 10/11/06, Patrick Moore [EMAIL PROTECTED] wrote:


Hi there-

I am trying to use the maven-dependency-plugin in the

http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/
directory. I have specified:

   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-dependency-plugin/artifactId
   version2.0-SNAPSHOT/version
   /plugin

However, it keeps picking up the old version dependency-maven-plugin-1.0!
How
do I get maven to stop trying to use the old version?

mvn dependency:sources
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] org.codehaus.mojo: checking for updates from apache.snapshots
[INFO] org.codehaus.mojo: checking for updates from mortbay-repo
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for
updates
from apache.snapshots
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for
updates
from mortbay-repo
[WARNING] repository metadata for: 'artifact
org.codehaus.mojo:dependency-maven-
plugin' could not be retrieved from repository: mortbay-repo due to an
error:
Er
ror transferring file
[INFO] Repository 'mortbay-repo' will be blacklisted
[INFO] artifact org.codehaus.mojo:dependency-maven-plugin: checking for
updates
from central
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-pl
ugin/1.0/dependency-maven-plugin-1.0.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/m
ojo/mojo/5/mojo-5.pom
[WARNING] Unable to get resource from repository apache.snapshots
(http://people
.apache.org/repo/m2-snapshot-repository)
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/5/mojo-5.pom
4K downloaded
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/m
ojo/dependency-maven-plugin/1.0/dependency-maven-plugin-1.0.jar
[WARNING] Unable to get resource from repository apache.snapshots
(http://people
.apache.org/repo/m2-snapshot-repository)
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/dependency-maven-pl
ugin/1.0/dependency-maven-plugin-1.0.jar
15K downloaded
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: dependency:sources
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Oct 11 17:33:29 PDT 2006
[INFO] Final Memory: 1M/3M
[INFO]


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]