I answer the last part of your question. The pom.xml for the new project is
the pom you like to use. So it contanins the dipendences, the repositories,
ecc. you decide your new project should have.
Bye,
Luca
-Original Message-
From: Alexander Hars [mailto:[EMAIL PROTECTED]
Sent: mercoledì 26 ottobre 2005 9.35
To: users@maven.apache.org
Subject: A few questions about creating archetypes
Hi,
I have read the Guide to creating archetypes but I am not sure about a
few things:
I assume that we create the archetype as a maven-plugin. Then it needs a
pom.
Do I include the archetype ... /archetype in the archetype plugin's
pom.xml?
Do I also need to define packagingmaven-plugin/packaging ?
Do we need to define any dependencies ?
When the archetype initializes a project, it needs to create a pom.xml
for the new project.
That pom.xml is different from the archetype plugin pom.xml.
So how do I define the pom.xml that the archetype plugin should create?
Thanks for your help!
-Alexander
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]