I just started getting a project set up with M2 and I've run into a
problem following along with the current Getting Started Guide [1].
I'm sure I must be missing something obvious, but I'm not sure what...
[tmp] $ mvn -version
Maven version: 2.0.2
[tmp] $ mvn archetype:create -DgroupId=com.mycompany.app -
DartifactId=my-app
...
[INFO]
------------------------------------------------------------------------
----
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
----
...
[tmp] $ mvn archetype:create -DgroupId=com.mycompany.app -
DartifactId=my-app -DarchetypeGroupId=org.apache.maven.archetypes -
DarchetypeArtifactId=maven-archetype-site
...
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] my-app already exists - please run from a clean directory
[INFO]
------------------------------------------------------------------------
-
...
I tried running the site archetype from the my-app directory created
by the base archetype, but that just resulted in a nested my-app/my-
app... I also tried running the archetypes in the opposite order, but
got the same error. Any help appreciated ;-)
L.
[1] http://maven.apache.org/guides/getting-started/index.html
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]