maven-scm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiruihua <jirui...@gmail.com>
Subject Re: Multiple CVS Modules + SCM
Date Sun, 27 Jun 2010 04:17:05 GMT

Hi,

I am glad you got it worked. But I am still struggling with it now.
I would like to checkout multiple repositories and dump them to a same
folder. 

My parent pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com</groupId>
  <artifactId>workspace</artifactId>
  <version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
  <plugins>
     <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-scm-plugin</artifactId>
             <version>1.3</version>
             <configuration>    
                      <username>username</username>    
                      <password>password</password> 
              </configuration>
     </plugin>
  </plugins>

</build>
<modules>
    <module>boxcloud</module>
    <module>cloudfire</module>
    <module>cloudstack</module>
  </modules>
</project> 

One of my child pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <modelVersion>4.0.0</modelVersion>
<parent>
    <artifactId>workspace</artifactId>
    <groupId>com</groupId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <groupId>com</groupId>
  <artifactId>boxclound</artifactId>
  <version>0.0.1-SNAPSHOT</version>
<build>
  <plugins>
     <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-scm-plugin</artifactId>
             <version>1.3</version>
             <configuration>    
                      <username>username</username>    
                      <password>password</password>    
              </configuration>

     </plugin>
  </plugins>

</build>
  <scm>

<connection>scm:svn:http://www.wiredreach.com:5775/svn/boxcloud/trunk</connection>
  </scm>
</project> 

When I run this in the parent pom folder, I got error "can not load the scm
provider". 
If I add the scm element in the parent pom file, it can checkout, but the
child mudule will be skipped.

A similar guy:
http://maven.40175.n5.nabble.com/multi-module-checkout-td396061.html

Thanks a lot!
Jerry
-- 
View this message in context: http://maven.40175.n5.nabble.com/Multiple-CVS-Modules-SCM-tp325776p511504.html
Sent from the Maven - SCM mailing list archive at Nabble.com.

Mime
View raw message