I have a web application that relies on several modules. Therefore, to create it, I have a master pom.xml file. I want this pom file to check all modules. below is my pom file.
<executions>
<execution>
<id>check-out-project1</id>
<phase>generate-sources</phase>
<goals>
<goal>checkout</goal>
</goals>
<configuration>
<checkoutDirectory>${project.build.directory}/module1</checkoutDirectory>
<connectionUrl>scm:svn:svn://svnserver/svn/module1/trunk</connectionUrl>
<username>username</username>
<password>password</password>
</configuration>
</execution>
<execution>
<id>check-out-project2</id>
<phase>generate-sources</phase>
<goals>
<goal>checkout</goal>
</goals>
<configuration>
<checkoutDirectory>${project.build.directory}/module1</checkoutDirectory>
<connectionUrl>scm:svn:svn://svnserver/svn/module1/trunk</connectionUrl>
<username>username</username>
<password>password</password>
</configuration>
</execution>
</executions>
I tried mvn scm: checkout and mvn scm: checkout -check-out-project1 , but it gave me an error: Unable to run the verification command: Unable to load the scm provider. You need to define the connectionUrl parameter.
, , connectionUrl, pom. , , - pom, , . , , , Advance.