maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <>
Subject Re: Is the archetype creation documentation confusing to anyone else?
Date Fri, 27 Aug 2010 05:31:43 GMT
true, I made bad copy/paste (and a few other english typos, as you can see).
Thanks for the report.

I fixed it, it should be available on the site in a few hours.

If you find other errors int he documentation, please open Jira issues. It's 
even better if you can propose a patch :)



Le vendredi 27 août 2010, lukewpatterson a écrit :
> Which is the new way?  archetype.xml or archetype-metadata.xml ?
> The "Guide to Creating Archetypes"
> says to use:
> "an archetype descriptor (archetype.xml in directory:
> src/main/resources/META-INF/maven/)."
> but then it also says:
> "Note: this mini-guide has been written for archetype plugin version 1.0.x.
> Archetype plugin 2.0.x is a new generation that fully supports archetypes
> created for 1.0.x, and adds a _new_archetype_descriptor_: it's more
> fexible, has more features, but the basis si absolutely the same."
> The "_new_archetype_descriptor_ link" takes me to
> which says: "Maven's model for the old archetype descriptor (ie for
> Archetype 1.0.x). "
> I hope the new one is archetype-metadata.xml, which is documented here:
> etype-metadata.html (which has the awkward title "How metadata on an
> archetype is stored?", yes it does have a question mark)
> The archetype-metadata.xml has the "packaged" option, which I'd like to use
> in my archetype.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message