[ http://jira.codehaus.org/browse/SCM-116?page=comments#action_67522 ] 

David Boden commented on SCM-116:
---------------------------------

As a workaround (because if you've chosen to have a flat project layout rather 
than a hierarchical one with the parent at the top of the hierarchy then this 
is a showstopper!) could I please request that another Mojo is checked into the 
scm plugin directory.

It would:
   * extend UpdateMojo
   * Not include the @aggregator tag
   * Declare the goal "update-subprojects"

So then, I can use scm:update-subprojects to do what scm:update will eventually 
do when we've got to the final solution.

This is a similar workaround idea to what they've done for the "assembly" 
plugin. There, the "single" goal is to workaround the fact that the aggregator 
doesn't work as expected.

I'd really appreciate it if you'd add the workaround to the next release. I 
can't go live without it :( . Thanks!

> 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

Reply via email to