maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dan tran" <dant...@gmail.com>
Subject Re: CVS connection unsuccessful while doing release:prepare (error: password is required)
Date Mon, 12 Jun 2006 16:31:00 GMT
You are using maven-release-plugin-2.0-beta-3, the current version is beta-4
which has lots of bug fixes since then

-Dan



On 6/12/06, Dhananjay Nene <dhananjay.nene@cash-tech.com> wrote:
>
> I am using maven 2.0.4 and have been trying to do a release:prepare. I
> have attempted to work through a number of options but am having trouble
> connecting to my CVS repository for release:prepare (Note: scm:checkout
> works just fine - the settings are identical for connection and
> developerConnections). The data output from the log also seems to be all
> right. I have ensured that I do a "cvs login", the .cvspass has the
> records for the password, and have attempted both with and without
> supplying one or both of -Dusername and -Dpassword with identical
> results. Identical results irrespective of whether I supply the -DdryRun
> parameter.The relevant part of the output with debug turned on follows.
> Please help if you can.
>
> Thanks
> Dhananjay
>
> ----------------------------------------------------------------------------------------------------------------------------------
> prompt> mvn -X -up -Dusername=danny -Dpassword=my_password
> release:prepare -DdryRun=true
>
> [DEBUG]
>
> org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-3:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-artifact:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-repository-metadata:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm::1.0-alpha-2 for project:
> null:maven-scm-api:jar:1.0-alpha-2 from the repository.
> [DEBUG]   org.apache.maven.scm:maven-scm-api:jar:1.0-alpha-2:runtime
> (selected for runtime)
> [DEBUG]     junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
> plexus:plexus-utils:jar:1.0.3 from the repository.
> [DEBUG]     plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm-managers::1.0-alpha-2 for project:
> null:maven-scm-manager-plexus:jar:1.0-alpha-2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm::1.0-alpha-2 for project:
> null:maven-scm-managers:pom:1.0-alpha-2 from the repository.
> [DEBUG]
> org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0-alpha-2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0 for
> project: plexus:plexus-container-default:jar:1.0-alpha-5 from the
> repository.
> [DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0 for project:
> plexus:plexus-containers:pom:1.0 from the repository.
> [DEBUG]     plexus:plexus-container-default:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm-providers::1.0-alpha-2 for project:
> null:maven-scm-provider-svn:jar:1.0-alpha-2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm::1.0-alpha-2 for project:
> null:maven-scm-providers:pom:1.0-alpha-2 from the repository.
> [DEBUG]
> org.apache.maven.scm:maven-scm-provider-svn:jar:1.0-alpha-2:runtime
> (selected for runtime)
> [DEBUG]     regexp:regexp:jar:1.3:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-project:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-model:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for
> runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-profile:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for
> runtime)
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm-providers::1.0-alpha-2 for project:
> null:maven-scm-provider-cvs:jar:1.0-alpha-2 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.scm:maven-scm::1.0-alpha-2 for project:
> null:maven-scm-providers:pom:1.0-alpha-2 from the repository.
> [DEBUG]
> org.apache.maven.scm:maven-scm-provider-cvs:jar:1.0-alpha-2:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-core:jar:2.0 from the repository.
> [DEBUG]   org.apache.maven:maven-core:jar:2.0:runtime (selected for
> runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-plugin-parameter-documenter:jar:2.0 from the repository.
> [DEBUG]
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-error-diagnostics:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-error-diagnostics:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-monitor:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-monitor:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> null:maven-settings:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-settings:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]
> org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG]     org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-plugin-descriptor:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-plugin-descriptor:jar:2.0:runtime
> (selected for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
> [DEBUG]       org.apache.maven:maven-plugin-api:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]     commons-cli:commons-cli:jar:1.0:runtime (selected for runtime)
> [DEBUG]     org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5:runtime
> (selected for runtime)
> [DEBUG]       com.jcraft:jsch:jar:0.1.23:runtime (selected for runtime)
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.reporting:maven-reporting::2.0 for project:
> null:maven-reporting-api:jar:2.0 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven.reporting:maven-reporting:pom:2.0 from the repository.
> [DEBUG]
> org.apache.maven.reporting:maven-reporting-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]       doxia:doxia-sink-api:jar:1.0-alpha-4:runtime (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
> org.apache.maven:maven-plugin-registry:jar:2.0 from the repository.
> [DEBUG]     org.apache.maven:maven-plugin-registry:jar:2.0:runtime
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
> for runtime)
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
> runtime)
> [DEBUG]
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:runtime
> (selected for runtime)
> [DEBUG]     classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
> for runtime)
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-3:prepare' -->
> [DEBUG]   (f) basedir = [.. log shows correct base directory here ..]
> [DEBUG]   (f) generateReleasePoms = false
> [DEBUG]   (f) interactive = true
> [DEBUG]   (f) localRepository = [local] -> [.. log shows correct
> repository ..]
> [DEBUG]   (f) password = [.. log shows correct password ..]
> [DEBUG]   (f) reactorProjects =
> [org.apache.maven.project.MavenProject@cb9d1afb]
> [DEBUG]   (f) resume = true
> [DEBUG]   (f) settings = org.apache.maven.settings.Settings@8e32e7
> [DEBUG]   (f) tagBase = tags
> [DEBUG]   (f) urlScm = scm:cvs:pserver:danny@[.. log shows correct url ..]
> [DEBUG]   (f) username = danny
> [DEBUG] -- end configuration --
> [INFO] [release:prepare]
> [INFO] Verifying there are no local modifications ...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An error is occurred in the status process.
>
> Embedded error: Exception while executing SCM command.
> password is required
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error is
> occurred in the status process.
>        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: An error is
> occurred in the status process.
>        at
>
> org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications
> (PrepareReleaseMojo.java:514)
>        at
> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(
> PrepareReleaseMojo.java:201)
>        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.CvsScmProvider.login(
> CvsScmProvider.java:497)
>        at
> org.apache.maven.scm.provider.AbstractScmProvider.login(
> AbstractScmProvider.java:201)
>        at
> org.apache.maven.scm.provider.AbstractScmProvider.status(
> AbstractScmProvider.java:244)
>        at
> org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(
> ScmHelper.java:172)
>        at
>
> org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications
> (PrepareReleaseMojo.java:510)
>        ... 19 more
> Caused by: org.apache.maven.scm.ScmException: password is required
>        at
> org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(
> CvsPass.java:128)
>        at
>
> org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand
> (CvsLoginCommand.java:57)
>        at
> org.apache.maven.scm.login.AbstractLoginCommand.executeCommand(
> AbstractLoginCommand.java:44)
>        at
> org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java
> :55)
>        ... 24 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Mon Jun 12 21:39:16 IST 2006
> [INFO] Final Memory: 3M/7M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message