Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.3
-
None
Description
The error in Continuum on initial checkout of a Maven 2 project under Continuum 1.0.3 when using following syntax of SCM:
scm:cvs:pserver:user@host:port:repository:module
Error in Continuum is as follows and doesn't represent real issue on mvn scm:checkout goal:
Provider message: The cvs command failed. Command output: ------------------------------------------------------------------------------ port/repository: no such repository cvs checkout: authorization failed: server host rejected access to port/repository for user user cvs checkout: used empty password; try "cvs login" with a real password -------------------------------------------------------------------------------
The Continuum logs for this error:
INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,921 [Thread-2] WARN SQL - Object with id "0" not found ! INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,950 [Thread-2] INFO ContinuumScm - Checking out project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'. INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,026 [Thread-2] DEBUG ScmManager - cvsRoot: :pserver:user@host:port/repository INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,027 [Thread-2] DEBUG ScmManager - passFile: /opt/continuum-user/.cvspass INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,029 [Thread-2] DEBUG ScmManager - cvsroot :pserver:user@host:port/repository already exist in /opt/continuum-user/.cvspass. SKIPPED. INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Executing: cvs -z3 -f -d :pserver:user@host:port/repository -q checkout -d 12 path/to/module INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Working directory: /usr/bin/continuum/continuum-1.0.3/apps/continuum/working-directory INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,653 [Thread-2] WARN ContinuumScm - Error while checking out the code for project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'. INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Command output: port/repository: no such repository INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: authorization failed: server host rejected access to port/repository for user user INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: used empty password; try "cvs login" with a real password INFO | jvm 1 | 2006/05/11 01:00:09 | INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Provider message: The cvs command failed.
The real error behind this:
bash-2.03$ mvn scm:checkout -e + 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:checkout] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] [scm:checkout] [INFO] Removing /export1/eae/am74839/pvr/target/checkout [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot run checkout command : Embedded error: Exception while executing SCM command. cvs: not found [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot run checkout command : 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:219) 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: Cannot run checkout command : at org.apache.maven.scm.plugin.CheckoutMojo.checkout(CheckoutMojo.java:113) at org.apache.maven.scm.plugin.CheckoutMojo.execute(CheckoutMojo.java:61) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command. at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59) at org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:434) at org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.login(AbstractCvsScmProvider.java:508) at org.apache.maven.scm.provider.AbstractScmProvider.login(AbstractScmProvider.java:256) at org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:215) at org.apache.maven.scm.plugin.CheckoutMojo.checkout(CheckoutMojo.java:104) ... 19 more Caused by: org.apache.maven.scm.ScmException: Error while executing command. at org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils.isCvsNT(CvsCommandUtils.java:61) at org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:50) at org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:44) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55) ... 24 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:697) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:60) at org.apache.maven.scm.provider.cvslib.command.CvsCommandUtils.isCvsNT(CvsCommandUtils.java:57) ... 27 more Caused by: java.io.IOException: cvs: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at java.lang.Runtime.exec(Runtime.java:591) at java.lang.Runtime.exec(Runtime.java:507) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:679) ... 30 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed May 17 15:22:23 EDT 2006 [INFO] Final Memory: 5M/109M [INFO] ------------------------------------------------------------------------
Attachments
Issue Links
- supercedes
-
SCM-200 Problem checking out a CVS project when a non standard port is used
- Closed