I tried running mvn archetype:create -DgroupId=com.company
-DartifactId=testapp -DarchetypeArtifactId=maven-archetype-webapp -U 

And still getting 

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO]
------------------------------------------------------------------------
----
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create':
Cannot find Plexus container for plugin:
org.apache.maven.plugins:maven-archetype-plugin
[INFO]
------------------------------------------------------------------------
----
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
----
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Nov 22 10:29:28 EST 2005
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
----



-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 21, 2005 4:04 PM
To: Maven Users List
Subject: Re: Build Error while creating project

Try -U: there is a bug in 2.0 where the plugin gets stuck if it is not
found the first time.

- Brett



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

Reply via email to