cvs provider uses cvs update to check for your local modification(s),
however it fails.

You will need to trouble shoot they that command fails thou

-D


On 6/12/06, Dhananjay Nene <[EMAIL PROTECTED]> wrote:

I am using release plugin 2.0-beta-4. The output of the command (after
deleting release.properties) follows :

----------------------------------------------------------------------------------------------
[DEBUG] Using defaults for missing POM
javax.xml.bind:jaxb-api:pom:1.0.1:compile
[DEBUG]   javax.xml.bind:jaxb-api:jar:1.0.1:compile (selected for compile)
[DEBUG]

org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-4:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers-cvs::1.0-beta-3 for project:
null:maven-scm-provider-cvsexe:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-providers-cvs:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-api:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]     org.apache.maven.scm:maven-scm-api:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers-cvs::1.0-beta-3 for project:
null:maven-scm-provider-cvs-commons:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-providers-cvs:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-provider-perforce:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG]     regexp:regexp:jar:1.3:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-provider-starteam:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0-beta-3: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]   jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime)
[DEBUG]     jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a cycle in
the graph)
[DEBUG]     jdom:jdom:jar:1.0:runtime (selected for runtime)
[DEBUG]   jdom:jdom:jar:1.0: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 (removed
- nearer found: 1.1)
[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]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-provider-clearcase:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG]   org.apache.maven.scm:maven-scm-api:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG]     junit:junit:jar:3.8.1: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-utils:jar:1.0.4:runtime (removed
- nearer found: 1.1)
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-provider-bazaar:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for
project: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7
from the repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-containers:pom:1.0.2 from the repository.
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7:runtime
(removed - nearer found: 1.0-alpha-8)
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed
- nearer found: 1.1)
[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] 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]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed
- nearer found: 1.1)
[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]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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] 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.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG]
org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG]     org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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]     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]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[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] 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.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(removed - nearer found: 1.1)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers-svn::1.0-beta-3 for project:
null:maven-scm-provider-svnexe:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-providers-svn:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers-svn::1.0-beta-3 for project:
null:maven-scm-provider-svn-commons:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-providers::1.0-beta-3 for project:
null:maven-scm-providers-svn:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-providers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm-managers::1.0-beta-3 for project:
null:maven-scm-manager-plexus:jar:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.maven.scm:maven-scm::1.0-beta-3 for project:
null:maven-scm-managers:pom:1.0-beta-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.scm:maven-scm:pom:1.0-beta-3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG]
org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0-beta-3:runtime
(selected for runtime)
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-4:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) basedir = /home/dhananjay/projects/triton/phoenix-generated
[DEBUG]   (f) dryRun = true
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean integration-test
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) reactorProjects =
[EMAIL PROTECTED]
[DEBUG]   (f) resume = true
[DEBUG]   (f) settings = [EMAIL PROTECTED]
[DEBUG]   (f) useEditMode = false
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[DEBUG] release.properties not found - using empty properties
[INFO] Verifying that there are no local modifications...
[DEBUG] cvsRoot:
:pserver:[EMAIL PROTECTED]:2401/source/repository/triton
[DEBUG] passFile: /home/dhananjay/.cvspass
[DEBUG] cvsroot
:pserver:[EMAIL PROTECTED]:2401/source/repository/triton
already exist in /home/dhananjay/.cvspass. SKIPPED.
[INFO] Executing: cvs -z3 -f -d
:pserver:[EMAIL PROTECTED]:/source/repository/triton -n -q
update -d
[INFO] Working directory:
/home/dhananjay/projects/triton/phoenix-generated
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to check for local modifications
Provider message:
The cvs command failed.
Command output:
cvs update: in directory .:
cvs [update aborted]: there is no version here; run 'cvs checkout' first

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Unable to check for local
modifications
Provider message:
The cvs command failed.
Command output:
cvs update: in directory .:
cvs [update aborted]: there is no version here; run 'cvs checkout' first

       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:555)
       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.MojoFailureException: Unable to check
for local modifications
Provider message:
The cvs command failed.
Command output:
cvs update: in directory .:
cvs [update aborted]: there is no version here; run 'cvs checkout' first

       at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(
PrepareReleaseMojo.java:114)
       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: 9 seconds
[INFO] Finished at: Tue Jun 13 01:05:38 IST 2006
[INFO] Final Memory: 4M/9M
[INFO]
------------------------------------------------------------------------

dan tran wrote:
> What version of release-plugin do yo use?
>
> try to remove release.properties in your root dir and run mvn
> release:prepare -DdryDrun -X
>
> -D
>
>
> On 6/12/06, Dhananjay Nene <[EMAIL PROTECTED]> wrote:
>>
>> release:prepare is attempting an update. My assumption is that the same
>> is for ensuring that the source has not changed and thus it will need
>> need to know exactly where the source has been checked out earlier. Not
>> sure if I have made a mistake in understanding the process. The log
>> output is as follows. My assumption is that there would require to be a
>> parameter I could pass to release:prepare which would be appended to
the
>> update command in the log below. Have I misunderstood the process ?
>>
>> [INFO] [release:prepare]
>> [INFO] Resuming release from phase 'scm-check-modifications'
>> [INFO] Verifying that there are no local modifications...
>> [DEBUG] cvsRoot: [.. correct cvs root ..]
>> [DEBUG] passFile: [.. correct cvs password file ..]
>> [DEBUG] cvsroot [.. correct cvs root..] already exist in [.. correct
cvs
>> password file ..] SKIPPED.
>> [INFO] Executing: cvs -z3 -f -d [.. correct cvs root ..] -n -q update
-d
>> [INFO] Working directory: [.. correct base directory ie. the one which
>> contains pom.xml ..]
>> [INFO]
>>
------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>>
------------------------------------------------------------------------
>> [INFO] Unable to check for local modifications
>> Provider message:
>> The cvs command failed.
>> Command output:
>> cvs update: in directory .:
>> cvs [update aborted]: there is no version here; run 'cvs checkout'
first
>>
>> [INFO]
>>
------------------------------------------------------------------------
>> [DEBUG] Trace
>> org.apache.maven.BuildFailureException: Unable to check for local
>> modifications
>> Provider message:
>> The cvs command failed.
>> Command output:
>> cvs update: in directory .:
>> cvs [update aborted]: there is no version here; run 'cvs checkout'
first
>>
>> dan tran wrote:
>> > release-plugin does not use maven-scm-plugin, it, however, talks
>> > directory
>> > to maven-scm-api layer.
>> > So your maven-scm-plugin settings are ignored.  Also, the
>> release:prepare
>> > does not do any checkout.
>> > release:perform does. You can change the checkout directory thru
>> > release:perform's workingDirectory
>> >
>> >
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html
>> >
>> > -D
>> >
>> > On 6/12/06, Dhananjay Nene <[EMAIL PROTECTED]> wrote:
>> >>
>> >> My pom.xml has been configured to checkout the project
>> >> ${basedir}/target/checkout/source  (I have configured the
>> >> <checkoutDirectory> for <maven-scm-plugin>). However release:prepare
>> >> continuously fails since the cvs update command does not contain the
>> >> directory where the project is checked out. The log shows the
>> following
>> >> command being executed  :
>> >>
>> >> cvs -z3 -f -d <cvs_root> -n -q update -d
>> >>
>> >> The command fails since there is no parameter after the "-d" above
to
>> >> indicate the directory (it needs to be the same as the source
>> directory
>> >> which is used by scm:checkout). I tried passing command line
>> parameters
>> >> (-D) and by using prepareVerifyArgs. However I am unable to pass the
>> >> directory name.
>> >>
>> >> How do I pass the parameter to indicate the directory where the
>> code is
>> >> checked out to maven-release-plugin ?
>> >>
>> >> Dhananjay
>> >>
>> >>
>> >>
>> >>
---------------------------------------------------------------------
>> >> 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]


Reply via email to