[ http://jira.codehaus.org/browse/SCM-116?page=comments#action_67170 ]
Emmanuel Venisse commented on SCM-116: -------------------------------------- We use @aggregator, because generally, sub-modules are under the root directory and I don't think a user with this layout want to update several times the same directory in one launch. Suppose you have this directory layout: {noformat} -parent pom.xml - module1 pom.xml - module2 pom.xml {noformat} if we don't use @aggregator, scm:update will run on root and update all directories and will run too on module1 and module2 already updated. I'm not sure we can use a conditional aggregator or if we have api that we can use to choose the correct mode to use. > 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