Hi, try this: - create a multi module project - in the root module directory, call mvn archetype:create-from-project - move to target/generated_sources/archetype and call mvn install - move in a fresh directory and call mvn archetype:generate -DarchetypeCatalog=local
Hope this helps, Raphaël 2008/9/16 geirgp <[EMAIL PROTECTED]>: > > I am in the process of creating an archetype to serve as a project template > for our organization. I have not worked with archetypes before and I am > finding it a struggle to find documentation and good examples/tutorials. > Googling various combinations of "maven", "archetype", "velocity" mainly > results in simple articles on how to use already existing archetypes. The > only resource I find is the Maven - Guide to Creating Archetypes which is > very small and does not even cover multi-module projects nor how to use > velocity templates. > > Does anyone have a pointer to where I can find some useful information? > > Many thanks, > > Geir > -- > View this message in context: > http://www.nabble.com/Creating-custom-archetypes-tp19512640p19512640.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
