Le vendredi 17 septembre 2010, lukewpatterson a écrit :
> Hervé BOUTEMY wrote:
> > Forwarding this question to dev list...
> 
> Yay! I have the attention of the right person at the right time.
yay! I have feedback at the right time, too.
And don't forget: patches are welcome.

> 
> Hervé BOUTEMY wrote:
> > archetype descriptor [2] should have goals
> 
> I'll dump related thoughts here:
> 
> * I like the ability to add goals in archetype descriptor
> * sometimes certain goals will always have to be executed after an
> archetype, why not allow it to be done automatically, less instructions for
> the archetype consumers to follow
> * It cleanly augments the velocity templating with custom logic
> * I use one-off Groovy+AntDSL mojos in my highly-specialized archetypes to
> "continue the conversation" started by archetype, I need the boost of logic
> to really add value to the archetype
seems interesting: any pointer?

> * My follow-up goals have interactivity in CLI, not sure how m2e would
> handle that in its wizard
seems harder, yes

> * the goals need to allow properties (e.g. "<goal>doit
> -DmyProperty=true</goal>)
> * goals need to execute in order, currently I don't think order is
> respected with the catalog descriptor method

ok
as previuosly written, goals won't be here in maven-archetype-plugin 2.0, but 
seems like this will be the big addition in 2.1
and your summary is interesting: writing a User Proposal [1] with it and a 
Jira issue [2] would be great

> 
> and somewhat-related:
> * archetype has some default properties (package, artifactId), which is
> nice, but it is hard to override and/or not use them, e.g. if I add a
> "package" property, it shows up twice in the list displayed to user
please open a Jira issue

Regards,

Hervé


[1] http://docs.codehaus.org/display/MAVENUSER/User+Proposals

[2] http://jira.codehaus.org/browse/ARCHETYPE

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to