[ https://jira.codehaus.org/browse/SCM-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated SCM-614: ------------------------------- Component/s: maven-plugin Description: Good morning, According to http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation documentation, "the parent project now knows its modules, and if a Maven command is invoked against the parent project, that Maven command will then be executed to the parent's modules as well". But it doesn't work for maven-scm-plugin. Consider you have this kind of project {noformat} myProject |-- my-module | `-- pom.xml `-- pom.xml {noformat} And you have set a "project.scm.connection" xml element in each {{pom.xml}} file. if you run {{scm:checkout}} goal in parent project (myProject in above example), il will not run this goal in module (my-module in above example) but only in parent project. Kind Regards, Thomas. was: Good morning, According to http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation documentation, "the parent project now knows its modules, and if a Maven command is invoked against the parent project, that Maven command will then be executed to the parent's modules as well". But it doesn't work for maven-scm-plugin. Consider you have this kind of project myProject |-- my-module | `-- pom.xml `-- pom.xml And you have set a "project.scm.connection" xml element in each pom.xml file. if you run scm:checkout goal in parent project (myProject in above example), il will not run this goal in module (my-module in above example) but only in parent project. Kind Regards, Thomas. > scm plugin does not respect maven aggregation specifications > ------------------------------------------------------------ > > Key: SCM-614 > URL: https://jira.codehaus.org/browse/SCM-614 > Project: Maven SCM > Issue Type: Bug > Components: maven-plugin > Affects Versions: 1.4 > Reporter: Thomas Cazali > > Good morning, > According to > http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation > documentation, "the parent project now knows its modules, and if a Maven > command is invoked against the parent project, that Maven command will then > be executed to the parent's modules as well". > But it doesn't work for maven-scm-plugin. > Consider you have this kind of project > {noformat} > myProject > |-- my-module > | `-- pom.xml > `-- pom.xml > {noformat} > And you have set a "project.scm.connection" xml element in each {{pom.xml}} > file. > if you run {{scm:checkout}} goal in parent project (myProject in above > example), il will not run this goal in module (my-module in above example) > but only in parent project. > Kind Regards, > Thomas. -- 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