Bonjour,

j'utilise le plugin scm pour CVS,

Lorsque que je fais :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
C:\>cvs -d :pserver:username:password@localhost:C:/CVSRepository/DemoEJB3 checkout DemoRoot
Je récupère sans problème mes sources dans le repository CVS. Mais je n'arrive pas à les récupérer par l'intermèdiaire de MAVEN,

voici mon pom.xml,

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?><project>
 
<modelVersion>4.0.0</modelVersion>
	<groupId>sr.objectif.demoEJB3</groupId>
	<artifactId>DemoExtract</artifactId>
	<packaging>pom</packaging>
	<version>0.0.1</version>
	<name>DemoExtract</name>
	<scm>
        <connection>scm:cvs:pserver:username@localhost:C:\CVSRepository\DemoEJB3:DemoRoot</connection>
  	</scm>
 
<build>
        <plugins>
           <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-scm-plugin</artifactId>
              <version>1.0</version>
              <configuration>
              	 <username>username</username>
              	 <password>password</password>
                 <connectionType>connection</connectionType>
              </configuration>
           </plugin>
        </plugins>
</build>
</project>
Lorsque je fais un mvn scm:checkout j'ai cette erreur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
---
[INFO] Building DemoExtract
[INFO]    task-segment: [scm:checkout] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
[INFO] [scm:checkout]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot run checkout command :
 
Embedded error: Can't load the scm provider.
For input string: "C"
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Aug 07 11:46:57 CEST 2007
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------
 
C:\workspaceEJB3\DemoExtract>
J'ai essayé toute les config possible mais sans succés.

Avez vous une idée ???

Merci d'avance,