You can try to build the release plugin from svn. I'm not sure it works because
brett works on it.
Emmanuel
Aaron Freeman a écrit :
So does this mean the release plugin won't work with ClearCase? Is
there some version we can use that will?
On 4/27/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
release plugin use an old version of maven-scm. Release plugin in svn
use the latest
Emmanuel
[EMAIL PROTECTED] a écrit :
> Hi All
>
> I'm trying to use the clearcase with releae plugin
>
> this is what i have in my scm tag in my pom.xml
>
> <scm>
>
>
<connection>scm:clearcase:\\views\My-View\view.stg\config_spec</connection>
>
>
<developerConnection>scm:clearcase:\\views\My-View\view.stg\config_spec</developerConnection>
> </scm>
>
>
> when i did scm:update it worked fine
>
> but when did mvn release:prepare i'm getting following error,
>
>
> [INFO]
>
----------------------------------------------------------------------------
> [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.
> String index out of range: -4
> [INFO]
>
------------------------------------------------------------------------
> [INFO] 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.jav
> a: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:324)
> 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: 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: java.lang.StringIndexOutOfBoundsException: String index
out of
> range: -4
> at java.lang.String.substring(String.java:1444)
> at java.lang.String.substring(String.java:1411)
> at
>
org.apache.maven.scm.manager.plexus.DefaultScmManager.findDelimiter(DefaultScmManager.java:218)
> at
>
org.apache.maven.scm.manager.plexus.DefaultScmManager.makeScmRepository(DefaultScmManager.java:118)
> at
>
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmHelper.java:82)
> ... 21 more
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Apr 27 10:40:44 CDT 2006
> [INFO] Final Memory: 3M/7M
> [INFO]
>
------------------------------------------------------------------------
>
>
>
> any one same probem? any idea how to fix this?
>
> Thanks,
> Raghu
>
---------------------------------------------------------------------
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]