I'm not sure what I did to screw things up, but lately it is failing
to download plugins because it is trying to use a version that doesn't
exist.  I'm using Nexus as a mirror of everything.

E.g., I just tried to do a "mvn archetype:create" to create a new
plugin and it gave an error because it's trying to download the
maven-archetype-plugin version 2.0-alpha-6, which doesn't exist.

What did I do that screwed things up?  Is something wrong with Nexus?
Do I need to do a sync or something?

Thanks,
Phillip

P.S.  Here's the actual output:

C:\mycomps\maven\plugin\hello>mvn archetype:create
-DgroupId=ad.maven.plugin -DartifactId=maven-hello-plugin
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-mojo

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.maven.plugins:maven-archetype-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-archetype-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.

  org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-6-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://maven:8080/nexus/content/groups/public)

 for project org.apache.maven.plugins:maven-archetype-plugin

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

Reply via email to