[
http://jira.codehaus.org/browse/ARCHETYPE-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200407#action_200407
]
Stevo Slavic commented on ARCHETYPE-205:
----------------------------------------
This is already possible in maven-archetype-plugin 2.0-alpha-4 via its goals
parameter, e.g. "mvn archetype:generate -Dgoals=clean,package". See docs
[here|http://maven.apache.org/plugins/maven-archetype-plugin/generate-mojo.html#goals].
> possibility to run a specified phase on newly generated project
> ---------------------------------------------------------------
>
> Key: ARCHETYPE-205
> URL: http://jira.codehaus.org/browse/ARCHETYPE-205
> Project: Maven Archetype
> Issue Type: Improvement
> Reporter: Adrian Herscu
>
> I am integrating some code generator into Maven.
> > Currently, I have a project archetype and a plugin that wraps the generator.
> > In the current arrangement creating a project is a three steps process:
> > 1. mvn archetype:generate <parameters>
> > 2. cd <project-dir>
> > 3. mvn package/install/whatever
> >
> > I would like to make it a one step process - like:
> > mvn archetype:generate <parameters> -DrunTo=package
--
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