You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Graham Leggett <mi...@sharp.fm> on 2006/06/27 10:12:39 UTC

Maven2 new user: using the archetype plugin

Hi all,

According to the docs at 
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20make%20my%20first%20Maven%20project?, 
you can use the archetype plugin to create a new template.

Trouble is, following the above instructions causes maven to complain 
that the archetype plugin doesn't exist:

Graham-Leggetts-Computer:~/src/standard/alchemy/maven minfrin$ mvn 
archetype:create -DgroupId=za.co.standardbank.alchemy 
-DartifactId=alchemy-trader
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does 
not exist or no valid version could be found
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Jun 27 09:43:14 SAST 2006
[INFO] Final Memory: 1M/2M
[INFO] 
------------------------------------------------------------------------

Anyone have any ideas as to what I should be doing?

Regards,
Graham
--