You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominik Bartholdi (JIRA)" <ji...@codehaus.org> on 2009/10/11 14:57:49 UTC

[jira] Created: (ARCHETYPE-269) genrate goal to execute additional goals from archetype pom

genrate goal to execute additional goals from archetype pom
-----------------------------------------------------------

                 Key: ARCHETYPE-269
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-269
             Project: Maven Archetype
          Issue Type: Improvement
          Components: Generator
            Reporter: Dominik Bartholdi


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 goals.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-269:
------------------------------------

    Summary: generate goal to execute additional goals from archetype pom  (was: genrate goal to execute additional goals from archetype pom)

> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-269
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>            Reporter: Dominik Bartholdi
>
> 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 goals.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-269:
------------------------------------

    Affects Version/s: 2.1
                       2.0-alpha-4
                       2.0
        Fix Version/s: 2.x

> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-269
>             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 goals.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276708#comment-276708 ] 

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: https://jira.codehaus.org/browse/ARCHETYPE-269
>             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 goals.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ARCHETYPE-269) genrate goal to execute additional goals from archetype pom

Posted by "Yannis JULIENNE (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198439#action_198439 ] 

Yannis JULIENNE commented on ARCHETYPE-269:
-------------------------------------------

It would be very usefull, especially to run very nice goals like versions:update-parent or versions:use-latest-releases, It would keep from upgrading archetypes versions only to update other versions inside...Thanks

> genrate goal to execute additional goals from archetype pom
> -----------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-269
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>            Reporter: Dominik Bartholdi
>
> 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 goals.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276599#comment-276599 ] 

Herve Boutemy commented on ARCHETYPE-269:
-----------------------------------------

this will require a new archetype descriptor version: not for 2.1, but I think this should be ok for 2.2

> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-269
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>            Reporter: Dominik Bartholdi
>
> 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 goals.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Dominik Bartholdi (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276615#comment-276615 ] 

Dominik Bartholdi commented on ARCHETYPE-269:
---------------------------------------------

glad to see some progress on this :)
any timeline for 2.2 already available?

> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-269
>             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 goals.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (ARCHETYPE-269) generate goal to execute additional goals from archetype pom

Posted by "Dominik Bartholdi (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/ARCHETYPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296482#comment-296482 ] 

Dominik Bartholdi commented on ARCHETYPE-269:
---------------------------------------------

any news on this?
                
> generate goal to execute additional goals from archetype pom
> ------------------------------------------------------------
>
>                 Key: ARCHETYPE-269
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-269
>             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 goals.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira