I have a mock module that I want to make into an archetype.
I have my pom.xml:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation= http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
This is because you did mvn archetype:create in a directory containing a
project.
And that project has its packaging different from 'pom'.
Considering a directory tree of projects, projects descriptors (pom.xmlfiles)
located in the leaves of that tree are not constrained but descriptors
located
SO how can I create an archetype from an existing module I have?
On 8/1/07, Raphaël Piéroni [EMAIL PROTECTED] wrote:
This is because you did mvn archetype:create in a directory containing a
project.
And that project has its packaging different from 'pom'.
Considering a directory tree of
archetype:create purpose is to create a project from a defined archetype
to create an archetype, you have the archetype:create-from-project goal
Raphaêl
2007/8/1, Mick Knutson [EMAIL PROTECTED]:
SO how can I create an archetype from an existing module I have?
On 8/1/07, Raphaël Piéroni