You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "David Boden (JIRA)" <ji...@codehaus.org> on 2005/12/15 11:55:05 UTC

[jira] Created: (SCM-116) scm:update doesn't iterate through multi-projects

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


[jira] Commented: (SCM-116) scm:update doesn't iterate through multi-projects

Posted by "David Boden (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-116?page=comments#action_53483 ] 

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

Makes sense.

However, I now understand that you are supposed to be able to have parent pom files that are not in the root directory of the multiproject. You're supposed to be able to have the aggregator pom.xml in a subdirectory and then refer to:

<modules>
  <module>../module1</module>
  <module>../module2</module>
</modules>

If it is Maven 2's aim to support this scenario then it is desirable for the SCM plugin to cope with it.

> 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


[jira] Commented: (SCM-116) scm:update doesn't iterate through multi-projects

Posted by "David Boden (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-116?page=comments#action_54899 ] 

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

>I think it is assumed that when you update the root of a multi-project, the SCM updates everything underneath that directory, including all subprojects.

What if you have 100 modules in your CVS but your <modules> tag only specifies 2 of them. Is it really a good idea to allow source control to update all 100 modules? No, the plugin should iterate intelligently through the 2 specified modules.

> 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


[jira] Commented: (SCM-116) scm:update doesn't iterate through multi-projects

Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-116?page=comments#action_53482 ] 

mike perham commented on SCM-116:
---------------------------------

I think it is assumed that when you update the root of a multi-project, the SCM updates everything underneath that directory, including all subprojects.

> 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