You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicola Musatti <Ni...@ObjectWay.it> on 2010/05/05 10:26:10 UTC

Archetype plugin error

Hallo,
I've just tried executing the archetype plugin as I've regularly been 
doing these last few months:

mvn -e archetype:generate 
-DarchetypeCatalog=http://opmdev.owgroup.it:8082/nexus/content/repositories/releases/

but instead of the usual list of available archetypes I got the attached 
error message. Does anybody have an idea of what mayhave gone wrong? I'm 
running maven 2.2.1 on Windows.

Thank you.

Nicola Musatti

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: 
checking for updates from central
Downloading: 
http://opmdev.owgroup.it:8082/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-5/maven-archetype-plugin-2.0-alpha-5.pom
[INFO] 
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:generate] (aggregator-style)
[INFO] 
------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
-----------------------------------------------------
this realm = 
app0.child-container[org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5]
urls[0] = file:/C:/Documents and 
Settings/nmusatti/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-5/maven-archetype-plugin-2.0-alpha-5.jar
urls[1] = file:/C:/Documents and 
Settings/nmusatti/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


this realm = plexus.core
urls[0] = file:/D:/opt/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 
'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5:generate': 
Unable to load the mojo 
'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5:generate' 
in the plugin 'org.apache.maven.plugins:maven-archetype-plugin'. A 
required class is missing: 
org/apache/maven/shared/invoker/MavenInvocationException
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed May 05 10:20:01 CEST 2010
[INFO] Final Memory: 2M/254M
[INFO] 
------------------------------------------------------------------------


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