On 12/8/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> your url seems to be correct, run the mvn with -X -e for obtaining more infos.
Find it below. Unfortunately, there isn't too much information. I have
already studied the sources of CvsScmProvider and find it most
unfortunate: The information given by parseScmUrl is completely
hidden. Why doesn't this method just throw an IllegalArgumentException
with the hint what's wrong? :-(
Regards,
Jochen
--
Often it does seem a pity that Noah and his party did not miss the
boat. (Mark Twain)
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from:
'/home/jwi/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/usr/local/maven-2.0/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 Project Compare Tool
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[DEBUG] de.sag.dms:ProjectCompare:jar:4.3 (selected for null)
[DEBUG] xalan:xalan:jar:2.3.1 (selected for compile)
[DEBUG] commons-httpclient:commons-httpclient:jar:2.0.2 (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.3 (selected for compile)
[DEBUG] de.sag.dms:xDWS-common:jar:4.3 (selected for compile)
[DEBUG] jaxme:jaxmeapi:jar:0.5 (selected for compile)
[DEBUG] javax.servlet:servlet-api:jar:2.3 (selected for compile)
[DEBUG] jaxme:jaxmejs:jar:0.5 (selected for compile)
[DEBUG] jaxme:jaxmexs:jar:0.5 (selected for compile)
[DEBUG] jaxme:jaxme2:jar:0.5 (selected for compile)
[DEBUG] jaxme:jaxmepm:jar:0.5 (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] 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-repository-metadata:jar:2.0
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(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:
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] junit:junit:jar:3.8.1 (selected for runtime)
[DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0-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] org.apache.maven.scm:maven-scm-api:jar:1.0-alpha-2
(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-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] junit:junit:jar:3.8.1 (selected for runtime)
[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-model:jar:2.0
[DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager: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] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] org.apache.maven:maven-model: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] org.apache.maven.scm:maven-scm-api: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] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] org.apache.maven:maven-model: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] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] org.apache.maven:maven-profile: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] 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-monitor:jar:2.0
[DEBUG] org.apache.maven:maven-monitor:jar:2.0 (selected for runtime)
[DEBUG] org.apache.maven:maven-repository-metadata: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] 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.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0 (selected
for runtime)
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (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:
org.apache.maven:maven-plugin-descriptor:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0 (selected
for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(selected for runtime)
[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-plugin-api:jar:2.0
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(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] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
(selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
(selected for runtime)
[DEBUG] org.apache.maven:maven-project:jar:2.0 (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] org.apache.maven:maven-artifact: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.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime)
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
(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-utils:jar:1.0.4 (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 = /home/jwi/workspace/ProjectCompare
[DEBUG] (f) generateReleasePoms = false
[DEBUG] (f) interactive = true
[DEBUG] (f) localRepository = [local] -> file:///var/maven/repository
[DEBUG] (f) reactorProjects = [EMAIL PROTECTED]
[DEBUG] (f) resume = true
[DEBUG] (f) settings = [EMAIL PROTECTED]
[DEBUG] (f) tagBase =
:pserver:[EMAIL PROTECTED]:/cvsroot/dsi:/ProjectCompare/tags
[DEBUG] (f) urlScm =
scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/dsi:/ProjectCompare
[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: Can't load the scm provider.
The scm url is invalid.
[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:544)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:214)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
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:399)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
... 16 more
Caused by: org.apache.maven.scm.ScmException: Can't load the scm provider.
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmHelper.java:104)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(ScmHelper.java:169)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModifications(PrepareReleaseMojo.java:510)
... 19 more
Caused by: org.apache.maven.scm.repository.ScmRepositoryException: The
scm url is invalid.
at
org.apache.maven.scm.provider.cvslib.CvsScmProvider.makeProviderScmRepository(CvsScmProvider.java:98)
at
org.apache.maven.scm.manager.plexus.DefaultScmManager.makeScmRepository(DefaultScmManager.java:126)
at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmHelper.java:82)
... 21 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Dec 08 10:55:13 CET 2005
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]