You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2009/03/09 19:32:12 UTC
[jira] Created: (ARCHETYPE-232) Improve create-from-project to
flatten plugins and dependencies from parent projects
Improve create-from-project to flatten plugins and dependencies from parent projects
------------------------------------------------------------------------------------
Key: ARCHETYPE-232
URL: http://jira.codehaus.org/browse/ARCHETYPE-232
Project: Maven Archetype
Issue Type: Improvement
Components: Generator
Affects Versions: 2.0-alpha-4
Reporter: Matt Raible
It would be very useful if I could use "create-from-project" on a project that has a <parent> project. Ideally, rather than including the same parent reference, it could "flatten" the dependencies and plugins and put them in the pom.xml of the archetype. This would be a very useful addition for the AppFuse project.
--
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-232) Improve create-from-project to
flatten plugins and dependencies from parent projects
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240077#action_240077 ]
Herve Boutemy commented on ARCHETYPE-232:
-----------------------------------------
if I understand correctly, "flatten" would create an archetype with an effective-pom of the current project?
IMHO, both options (flatten or preserve parent) can be useful: it depends on your objective (and I personnally find it convenient to preserve parent since effective-pom would make a huge copy/paste of parent content which doesn't help maintain the archetype)
> Improve create-from-project to flatten plugins and dependencies from parent projects
> ------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-232
> URL: http://jira.codehaus.org/browse/ARCHETYPE-232
> Project: Maven Archetype
> Issue Type: Improvement
> Components: Generator
> Affects Versions: 2.0-alpha-4
> Reporter: Matt Raible
>
> It would be very useful if I could use "create-from-project" on a project that has a <parent> project. Ideally, rather than including the same parent reference, it could "flatten" the dependencies and plugins and put them in the pom.xml of the archetype. This would be a very useful addition for the AppFuse project.
--
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