Emmanuel, merci pour la réponse.
I created a test project and added the following things in the pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>ecb</groupId> <artifactId>ecb-presentation-tiles</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>Maven Webapp Archetype</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <scm> <connection>scm:perforce://components/ecb-presentation-tiles</connection> <developerConnection>scm:perforce://components/ecb-presentation-tiles</devel operConnection> <tag/> <url></url> </scm> <build> <finalName>ecb-presentation-tiles</finalName> </build> </project> When I run "mvn -e scm:update" (I suppose this is the command to synchronize with the scm) then I get the following error + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] --------------------------------------------------------------------- ------- [INFO] Building Maven Webapp Archetype [INFO] task-segment: [scm:update] (aggregator-style) [INFO] --------------------------------------------------------------------- ------- [INFO] [scm:update] [ERROR] Provider message: [ERROR] Unable to sync [ERROR] Command output: [ERROR] [INFO] --------------------------------------------------------------------- ------- [ERROR] BUILD ERROR [INFO] --------------------------------------------------------------------- ------- [INFO] Command failed. [INFO] --------------------------------------------------------------------- ------- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Command failed. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De faultLifecycleExecutor.java:485) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec ycleExecutor.java:455) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail ures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa ultLifecycleExecutor.java:216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Command failed. at org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java :252) at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:70) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:432) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:530) ... 16 more What does it mean ? Do I need to specify any plug-in information in the pom.xml ? (Hope, it is not necessary) Thank you very much ! -----Ursprüngliche Nachricht----- Von: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Januar 2006 13:29 An: Maven Users List Betreff: Re: How to integrate scm perforce into maven ? You must add an scm url in your pom (http://maven.apache.org/scm/perforce.html) After, you'll can use release plugin and scm plugin and Continuum Emmanuel Esteban Chavez a écrit : > Hi everybody, > > I'm new in this maven2 stuff...and need a bit help (thank you in advance). > I did the standard installation of maven2 on my PC. Now I would like to > integrate maven with perforce (or CVS) > Does someone know how to configure maven2 to work with one of these scm ? > What are available goals and how to run them ? > Perhaps there exist also useful documentation somewhere... > > Thank you very much ! > > Esteban. > > > > -----Ursprüngliche Nachricht----- > Von: Dennis Lundberg [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 25. Januar 2006 20:29 > An: Maven Users List > Betreff: Re: configuring scm > > > There is a patch available in > http://jira.codehaus.org/browse/MNG-1677 > > -- > Dennis Lundberg > > Emmanuel Venisse wrote: > >>We need to fix this description. >> >>In connection element, you must provide a scm url >>(http://maven.apache.org/scm/scm-url-format.html) >> >>Emmanuel >> >>Christopher Chase a écrit : >> >>>Hi, >>> >>>I'm configuring the scm tag in the pom for use with continuum. Could >>>someone explain what should be in the connection element? I don't >>>understand the description here >>>http://maven.apache.org/maven-model/maven.html#class_scm >>> >>> >>> >>> >>>Thanks >>> >>>Chris >>> >>> >>>______________________________________________________________________ >>>This email has been scanned by the MessageLabs Email Security System. >>>For more information please visit http://www.messagelabs.com/email >>>______________________________________________________________________ >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
