If you want the fix, you should checkout the release plugin and install it.
Bedin, Stephane (GE Healthcare) a écrit :
How can I update my plugin version of maven-scp to get the correction ?
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: mar. 7 février 2006 15:15
To: Maven Users List
Subject: Re: release:prepare + cvs : password is required
Ok, The released version of release plugin use an old version of maven-scm.
This problem is fixed in svn, if you want to try it.
Other solution is to put your password on scm url but it isn't secure.
Emmanuel
Bedin, Stephane (GE Healthcare) a écrit :
Yes I'm using CVSNT (as part of WinCVS).
(Note: I had also tried : mvn scm:update to get the latest scm plugins)
Here are the traces of 'mvn -Dpassword=your_password release:prepare':
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settings\rivieje\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program
Files\maven-2.0.2\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[DEBUG] maven-release-plugin: resolved to version 2.0-beta-3 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-release-plugin:maven-plugin:2.0-beta-3
[INFO]
----------------------------------------------------------------------------
[INFO] Building DICOM Objects Checker
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[DEBUG] com.gehealthcare:doc:jar:1.2-SNAPSHOT (selected for null)
[DEBUG] junit:junit:jar:3.8.1 (selected for test)
[DEBUG] com.gehealthcare:dicomdatamodel:jar:1.5 (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile)
[DEBUG] log4j:log4j:jar:1.2.12 (selected for compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2 (selected for compile)
[DEBUG] merge:mcw:jar:mc3java265ib3w32 (selected for compile)
[DEBUG] xalan:xalan:jar:2.7.0 (selected for compile)
[DEBUG] While downloading xml-apis:xml-apis:2.0.2
This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
[DEBUG] xerces:xercesImpl:jar:2.7.1 (selected for compile)
[DEBUG] com.gehealthcare:mergeinstaller:jar:1.2 (selected for compile)
[DEBUG] com.gehealthcare:dicomservice:jar:1.12 (selected for compile)
[DEBUG] org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-3
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-artifact:jar:2.0
[DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0 (selected for
runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-api:jar:1.0-alpha-2
[DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0-alpha-2 (selected for
runtime)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
plexus:plexus-utils:jar:1.0.3
[DEBUG] plexus:plexus-utils:jar:1.0.3 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-manager-plexus:jar:1.0-alpha-2
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-managers:pom:1.0-alpha-2
[DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0-alpha-2
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
plexus:plexus-container-default:jar:1.0-alpha-5
[DEBUG] Retrieving parent-POM from the repository for project:
plexus:plexus-containers:pom:1.0
[DEBUG] plexus:plexus-container-default:jar:1.0-alpha-5 (selected for
runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-provider-svn:jar:1.0-alpha-2
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-providers:pom:1.0-alpha-2
[DEBUG] org.apache.maven.scm:maven-scm-provider-svn:jar:1.0-alpha-2 (selected
for runtime)
[DEBUG] regexp:regexp:jar:1.3 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-project:jar:2.0
[DEBUG] org.apache.maven:maven-project:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-model:jar:2.0
[DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-profile:jar:2.0
[DEBUG] org.apache.maven:maven-profile:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-provider-cvs:jar:1.0-alpha-2
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-scm-providers:pom:1.0-alpha-2
[DEBUG] org.apache.maven.scm:maven-scm-provider-cvs:jar:1.0-alpha-2 (selected
for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-core:jar:2.0
[DEBUG] org.apache.maven:maven-core:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-plugin-parameter-documenter:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-error-diagnostics:jar:2.0
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-monitor:jar:2.0
[DEBUG] org.apache.maven:maven-monitor:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
(selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-settings:jar:2.0
[DEBUG] org.apache.maven:maven-settings:jar:2.0 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-descriptor:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0 (selected for
runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG] commons-cli:commons-cli:jar:1.0 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 (selected for
runtime)
[DEBUG] com.jcraft:jsch:jar:0.1.23 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-reporting-api:jar:2.0
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven.reporting:maven-reporting:pom:2.0
[DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0 (selected
for runtime)
[DEBUG] doxia:doxia-sink-api:jar:1.0-alpha-4 (selected for runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG] Retrieving parent-POM from the repository for project:
org.apache.maven:maven-plugin-registry:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0 (selected for
runtime)
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
(selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-3:prepare' -->
[DEBUG] (f) basedir = D:\Docs\java\workspace\doc
[DEBUG] (f) generateReleasePoms = false
[DEBUG] (f) interactive = true
[DEBUG] (f) localRepository = [local] -> file://C:\Documents and
Settings\rivieje\.m2\repository
[DEBUG] (f) password = snaker
[DEBUG] (f) reactorProjects = [EMAIL PROTECTED]
[DEBUG] (f) resume = true
[DEBUG] (f) settings = [EMAIL PROTECTED]
[DEBUG] (f) tagBase = ../tags
[DEBUG] (f) urlScm = scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/doc:doc
[DEBUG] (f) username = riviere
[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:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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: 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:415)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
... 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: 2 seconds
[INFO] Finished at: Tue Feb 07 14:51:47 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------------
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: mar. 7 février 2006 13:57
To: Maven Users List
Subject: Re: release:prepare + cvs : password is required
Can you post 'mvn release:prepare' traces in debug mode (-X parameter)? It will
be more helpful.
I'd guess you use CVSNT, right?
try this: mvn -Dpassword=your_password release:prepare
Emmanuel
Bedin, Stephane (GE Healthcare) a écrit :
Hi all,
I'm trying to use the release:prepare plugin... without success.
I'm using maven 2.0.2,
My pom.xml contains:
<scm>
<connection>scm:cvs:pserver:[EMAIL
PROTECTED]:/cvsroot/doc:doc</connection>
<developerConnection>scm:cvs:pserver:[EMAIL
PROTECTED]:/cvsroot/doc:doc</developerConnection>
</scm>
Whien I launch 'mvn release:prepare', I got an error :
D:\cvs\doc>mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building DICOM Objects Checker
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO]
-------------------------------------------------------------------------
---
[INFO] [release:prepare]
[INFO] What tag name should be used?
RELEASE_1_0
[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]
-------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-------------------------------------------------------------------------
---
[INFO] Total time: 11 seconds
[INFO] Finished at: Tue Feb 07 11:50:22 CET 2006
[INFO] Final Memory: 3M/6M
[INFO]
-------------------------------------------------------------------------
---
I tryed 'cvs login' with success, and then 'mvn release:prepare', but I have
always the same error.
I parsed the mailing list and many forum, but without any clear response.
Any idea ?
Stéphane
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]