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 :) Regards, Hervé 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" > http://maven.apache.org/guides/mini/guide-creating-archetypes.html > > 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 > http://maven.apache.org/archetype/archetype-common/archetype.html > 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: > http://maven.apache.org/archetype/maven-archetype-plugin/specification/arch > 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: [email protected] For additional commands, e-mail: [email protected]
