Yes it is:

http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Unfortunately, the command line for a custom tag is a bit clunky. You
have to pass the artifactId and groupId of your archetype as parameters.

kris bravo * Clarify Development * office: 678.893.1288 * mobile:
678.296.8723 


-----Original Message-----
From: Roland Asmann [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 01, 2006 1:46 PM
To: Maven Users List
Subject: ArcheType definition

Hi,

I was wondering if it is possible to write my own Archetype-definition,
so that when I run 'mvn achetype:create'
Maven will generate me a POM that has some more stuff in it than the
current default.
The thing is, that my company will be writing lots of projects that are
fairly similar, so I have introduced a company- wide POM, which I would
like to have automatically added to the POM created with an
archetype:create.
Also, depending on the type of project (currently we have 4 different
types), I want to add the default plugins and dependencies for those
type of projects.

Is there an easy and fast way, or should I re-write the Archetype-plugin
as a new plugin that has this functionality?

Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to