One application of it for me was a multi-project layout for an EAR with a myfaces web application, EJB3, a persistence archive, a custom login module, skeleton config files, etc. It's helpful if you create several projects using the same pattern.
On 10/15/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Just curious, why do you think you need to CREATE an archetype? Most > people will simply USE an archetype that has been previously created. > > "mvn archetype:create ..." is simply the command to create a new > project using an archetype. I'd be very surprised that a new user > would want to create an archetype. > > What exactly are you hoping to do with Maven2? > > Wayne > > On 10/15/07, Harlan Iverson <[EMAIL PROTECTED]> wrote: > > An archetype is installed the same way as a normal artifact; so running > 'mvn > > install' in the directory will do it. > > > > In case you haven't seen it, this guide to creating archetypes helped me > > along: > http://maven.apache.org/guides/mini/guide-creating-archetypes.html > > > > Harlan > > > > On 10/15/07, ichasco <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi all, > > > > > > I have just started with maven and i have some questions. I have read > the > > > guide to creating archetype and i do not understand very well it. > > > > > > I know that i have to create an archetype.xml, pom.xml, ... but where > i > > > have > > > to saved all these files? in .m2? where are stored archetypes? > > > > > > Thanks > > > > > > > > > -- > > > View this message in context: > > > > http://www.nabble.com/Very-newbie-question-tf4628024s177.html#a13214344 > > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Harlan Iverson > > http://blog.devspan.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Harlan Iverson http://blog.devspan.com