Hi
 
I'm trying to the the release plugin to work with my project, and have
the following set up in my pom:
 
    <scm>
 
<connection>scm:perforce:[EMAIL PROTECTED]:1666://depot/myproj</connection
>
 
<developerConnection>scm:perforce:[EMAIL PROTECTED]:1666://depot/myproj</d
eveloperConnection>
    </scm>
 
When I run mvn scm:update, it works fine and does a sync to head.
 
However, when I run mvn release:prepare, I get the error at the end of
this message.
 
Anyone else managed to get this working??
Cheers
Paul
 
 
 
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-release-plugin:2.0-beta-3:prepare' -->
[DEBUG]   (f) basedir = C:\project\project
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) interactive = true
[DEBUG]   (f) localRepository = [local] -> file://C:\Documents
<file://C:\Documents>  and Settings\pjhepworth\.m2\repository
[DEBUG]   (f) reactorProjects =
[EMAIL PROTECTED],
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ,
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ,
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ,
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
[DEBUG]   (f) resume = true
[DEBUG]   (f) settings = [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
[DEBUG]   (f) tagBase = ../tags
[DEBUG]   (f) urlScm =
scm:perforce:[EMAIL PROTECTED]:1666://depot/myproj
[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.
No such provider: 'perforce'.
[INFO]
------------------------------------------------------------------------
----
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error is
occurred in the status process.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:556)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:485)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:455)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:303)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:216)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.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.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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.checkForLocalModific
ations(PrepareReleaseMojo.java:514)
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRelea
seMojo.java:201)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:415)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:531)
        ... 16 more
Caused by: org.apache.maven.scm.ScmException: Can't load the scm
provider.
        at
org.apache.maven.plugins.release.helpers.ScmHelper.getScmRepository(ScmH
elper.java:104)
        at
org.apache.maven.plugins.release.helpers.ScmHelper.getStatus(ScmHelper.j
ava:169)
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.checkForLocalModific
ations(PrepareReleaseMojo.java:510)
        ... 19 more



This message should be regarded as confidential. If you have received this 
email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by 
an authorised signatory.  The contents of this email may relate to dealings 
with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


Reply via email to