Hi,
You should be able to create your own implementation of for Archetype
ROLE and assign it a 'role-hint'.
And, then use that 'role-hint' to obtain your custom implementation from
the container.
See sources for Plexus archiver - how DefaultArchiverManager performs
component look up based on the role-hint and how different archiver
implementations are set up in components.xml.
http://svn.codehaus.org/plexus/trunk/plexus-components/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/manager/DefaultArchiverManager.java
HTH,
Rahul
----- Original Message -----
From: "Ole Ersoy" <[EMAIL PROTECTED]>
To: <dev@maven.apache.org>
Sent: Saturday, July 08, 2006 3:27 PM
Subject: Archetype Component Development Questions
Hi,
It looks like the Archetype component is pluggable,
since there's one named DefaultArchetype? Is there
any documentation that describes how to make the
substitution happen?
I need to make one that I can substitute for the
default, such that a multi project archetype istance
can be created.
So it will create both the parent project and the
child projects.
Is anyone working on something like this already?
I tried using the same dependencies as the
maven-archetype-core project, but they are not
fetchable from the repository.
Should I just install them manually?
Thanks,
- Ole
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
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]