[ http://jira.codehaus.org/browse/SCM-116?page=comments#action_67163 ]
David Boden commented on SCM-116: --------------------------------- Removing this line from UpdateMojo.java in the maven-scm-plugin project: * @aggregator Completely fixes this issue. The plugin updates each of my subprojects as expected. I have the following configuration in my *parent* pom, which states that the module names within CVS are the same as the artifact IDs. <scm> <connection>scm:cvs:pserver:njscmprd1:/home/source/etrade:${artifactId}</connection> </scm> If other projects don't have this setup, they can just put an <scm/> section in each of the subprojects to point to the correct CVS location. The @aggregator tag simply doesn't belong in the SCM plugin! The @aggregator tag asserts that the plugin can only be used to update the aggregator project when building in a multi-project environment. There is no reason for this restriction. > scm:update doesn't iterate through multi-projects > ------------------------------------------------- > > Key: SCM-116 > URL: http://jira.codehaus.org/browse/SCM-116 > Project: Maven SCM > Type: Bug > Versions: 1.0-beta-2 > Reporter: David Boden > > > scm:update doesn't iterate through projects > ---- > C:\dev\CDSSS>mvn scm:update > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] SalesStation ss_base_shared > [INFO] SalesStation cds_ss_shared > [INFO] SalesStation ss_offering_shared > [INFO] SalesStation ss_base_applet > [INFO] SalesStation sales_station_lib > [INFO] SalesStation ss_offering_lib > [INFO] SalesStation sales_station_applet > [INFO] SalesStation cds_ss_applet > [INFO] SalesStation cds_ss_lib > [INFO] SalesStation SS webapp > [INFO] SalesStation FET_S webapp (contains images) > [INFO] SalesStation CDSSS webapp > [INFO] Searching repository for plugin with prefix: 'scm'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building SalesStation CDSSS webapp > [INFO] task-segment: [scm:update] (aggregator-style) > [INFO] > ---------------------------------------------------------------------------- > [INFO] [scm:update] > [INFO] Executing: cvs -f -q update -d > [INFO] Working directory: C:\dev\CDSSS > [WARNING] Unknown status: '? '. > [WARNING] Unknown status: 'M '. > [INFO] > ---------------------------------------------------------------------------- > [INFO] BUILD SUCCESSFUL > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 5 seconds > [INFO] Finished at: Thu Dec 15 10:38:24 GMT 2005 > [INFO] Final Memory: 3M/7M > [INFO] > ---------------------------------------------------------------------------- > C:\dev\CDSSS> > ---- > Any reason why it doesn't iterate? I'm using Maven 2.0.1 and SCM version > 1.0-beta-2. Thanks. -- 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