[ 
http://jira.codehaus.org/browse/MRELEASE-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167134#action_167134
 ] 

Moshe Bergman commented on MRELEASE-252:
----------------------------------------

In my projects we will not have fixed number of subsets, it will depend each 
time on changes and requirements. So I think files will not be good.

I suggest asking the user, like currently done for versions, as follows:
<module> is multi-module, select what to release: (A - All, C - Choose, N - 
None) (A):

For example:

Parent
   Module1 (pom)
      SubModule1
      SubModule2
   Module2
      SubModule3
      SubModule4
   Module3

The following is a possible flow:
Parent is multi-module, select what to release: (A - All, C - Choose, N - None) 
(A): C
Module1 is multi-module, select what to release: (A - All, C - Choose, N - 
None) (A): C
Release SubModule1? Y
Release SubModule2? N
Module2 is multi-module, select what to release: (A - All, C - Choose, N - 
None) (A): A
Module3 is multi-module, select what to release: (A - All, C - Choose, N - 
None) (A): N

In this case the following would be released: Parent, Module1 with SubModule1 
and Module2 (With all sub modules)

> Support for multi modules project
> ---------------------------------
>
>                 Key: MRELEASE-252
>                 URL: http://jira.codehaus.org/browse/MRELEASE-252
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>          Components: perform, prepare, stage
>    Affects Versions: 2.0-beta-6
>         Environment: Maven 2.0.6
>            Reporter: Franck HUGOT
>
> I would like to prepare a release for multi-modules project.
> I would create tags for all the modules and modify poms.
> Not only the versionId in the pom but also the eventual dependencies between 
> all the modules.
> Indeed, if a module A has a dependency to module B, the version will be 
> updated.
> The dependency management is a hard task in multi modules project and this 
> feature would be really appreciated.

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

        

Reply via email to