maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphaël Piéroni" <>
Subject attaching some behaviour to archetypes
Date Mon, 07 May 2007 22:15:57 GMT

Last week, i talk with Nicolas de Loof
who tells me about an archetype feature
he need:
modify (read merge) the generated web.xml
file from a webapp archetype (when using
that archetype in a partial creation (read
using an archetype in an existing project to
enhance its features).

I wonder if hooking the behaviour in a way like
this is a correct feature:

with ClassName the FQN of a class located
in the archetype's artifact.

Some other tough i have is to have a groovy
script instead of the class.
Both the class or the script is called with the object for each generated file from
the fileset.


View raw message