maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Freeman" <aaronwfree...@gmail.com>
Subject Re: release with clearcase
Date Mon, 01 May 2006 21:08:16 GMT
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 <emmanuel@venisse.net> wrote:
> release plugin use an old version of maven-scm. Release plugin in svn use the latest
>
> Emmanuel
>
> raghurajan.x.gurunathan@jpmchase.com 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message