maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <>
Subject [jira] Commented: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom
Date Mon, 22 Aug 2011 18:58:32 GMT


Herve Boutemy commented on ARCHETYPE-269:

for the moment, I still need to ship 2.1 in a week or two
if there is sufficient people wanting to help on it, we should be able to continue working
after the 2.1 release: knowing how you immediately gave feedback when I changed the issue
is a good sign of interest, then ability to help testing
it's motivating :)

> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>                 Key: ARCHETYPE-269
>                 URL:
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 2.0-alpha-4, 2.0, 2.1
>            Reporter: Dominik Bartholdi
>             Fix For: 2.x
> The following works:
> $> mvn archetype:generate -DarchetypeCatalog=local  -Dgoals=antrun:run
> But this has some major disadvantages:
> - The configuration of the goal has to be defined in the final POM of the new project
> - The user using the archetype has to know about the additional parameter
> It would be a big imovement if the a creator of an archetype could define some additional
goals to be executed after the creation of the new project. THe documentation for 'generate'
tells this about the 'goals' parameter: 'Additional goals that can be specified by the user
during the creation of the archetype'. But it does not tell how the creator could define additonal

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message