Hi,

I'm new to using maven and want to set up a custom project template archetype 
that will create a specific file structure and put a few key documents in 
specific places at the start of each new project.

The trouble I'm having is in setting up this archetype. I have read the guide 
at http://maven.apache.org/guides/mini/guide-creating-archetypes.html but it 
does not say if I already need to have this file structure created to install 
this archetype or if having the file paths written in the <sources> tags in the 
archetype file is enough. It also gives little information on why there are two 
pom.xml files in the example and what is the difference between them

What are the steps in creating a custom archetype? Is it:
  1.. Create archtype.xml with accompanying <sources> tags etc
  2.. 'install' this archetype using mvn install
  3.. Use archetype create to use this new archetype
I apologise if this seems like a basic problem but there are few clear web 
pages written on the subject,

Many thanks for any help,

Anthony Ryan

Reply via email to