dear scm support team,
I am trying to use scm (cvs ) and continuum but i have some difficulties.
At fisrt I can not checkin into my cvsroot.
I have used the command : mvn -e scm:checkin -Dmessage="first release"
Is it the good one ?
It answer to me [INFO] Command failed.The cvs command failed.
what do I have to do ??
Thanks a lot.
Francois
XXXXXXXXXXXXXXXXXXXXX
mvn -e scm:checkin -Dmessage="first release"
XXXXXXXXXXXXXXXXXXXXX
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [scm:checkin]
[INFO]
----------------------------------------------------------------------------
[INFO] [scm:checkin]
[INFO] Executing: cvs -z3 -f -d
:pserver:[EMAIL PROTECTED]:/cvsroot/projects -q commit -R -F
/tmp/scm-commit-message21146.txt
[INFO] Working directory: /home/flefevre/workspace2/maven-doc
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs commit: ignoring target/classes (CVS/Entries missing)
cvs commit: ignoring target/test-classes (CVS/Entries missing)
cvs commit: authorization failed: server mars.pc.local rejected access
to /cvsroot/projects for user flefevre
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Command failed.The cvs command failed.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Command
failed.The cvs command failed.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
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:256)
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.The cvs command failed.
at
org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:307)
at
org.apache.maven.scm.plugin.CheckinMojo.execute(CheckinMojo.java:58)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Aug 03 12:30:15 CEST 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
XXXXXXXXXXXXXXXXXXXXX
my POM.xml
XXXXXXXXXXXXXXXXXXXXX
<scm>
<!--
>connection>scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/projects:maven-doc</connection-->
<connection>scm:cvs:pserver:flefevre:@mars.pc.local:/cvsroot/projects:maven-doc</connection>
<developerConnection>scm:cvs:pserver:flefevre:@mars.pc.local:/cvsroot/projects:maven-doc</developerConnection>
</scm>
<ciManagement>
<system>continuum</system>
<url>http://mars.pc.local:8090/continuum</url>
<notifiers>
<notifier>
<type>mail</type>
<configuration>
<address>[EMAIL PROTECTED]</address>
</configuration>
</notifier>
</notifiers>
</ciManagement>
--
Francois Le Fevre
Bioinformatics Engineer
Computational Biology Group
Genoscope
Tél. : (+33) 1 60 87 45 83
Web : http://www.genoscope.cns.fr/bioinfo