I'm trying to use the archetype plugin to create an archetype from an
existing project. From the following issue, I'm not quite sure if this
functionality exists or not:

http://jira.codehaus.org/browse/ARCHETYPE-31

When I try to run archetype:create against Equinox
(http://equinox.dev.java.net), I get the following error:

mvn archetype:create -DgroupId=org.appfuse
-DartifactId=equinox-spring-hibernate -Dpackaging=war

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: Unable to add module to the current project as it is not of
packaging type 'pom'

Is it possible to create an archetype from an existing project?

Thanks,

Matt
-- 
View this message in context: 
http://www.nabble.com/Using-archetype%3Acreate-to-generate-an-archetype-from-an-existing-project-tf2407158.html#a6709860
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to