I'm trying to use release:prepare and it's obvious that the release
plugin does not work with locking SCM providers yet.  You need to call
the SCM 'edit' command to open the POM for write access in Perforce and
(I assume) Clearcase.  Shall I open a JIRA issue?

Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot write
released version of pom to:
D:\perforce\depot\sandbox\mperham\scm-test\pom.xml
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.writePom(PrepareRele
aseMojo.java:1487
)
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.transformPomToReleas
eVersionPom(Prepa
reReleaseMojo.java:782)
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRelea
seMojo.java:245)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:399)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor
.java:519)
        ... 16 more
Caused by: java.io.FileNotFoundException:
D:\perforce\depot\sandbox\mperham\scm-test\pom.xml (Access
 is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at java.io.FileWriter.<init>(FileWriter.java:73)
        at
org.apache.maven.plugins.release.PrepareReleaseMojo.writePom(PrepareRele
aseMojo.java:1479
) 

-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 24, 2005 2:13 PM
To: scm-dev@maven.apache.org
Subject: Clearcase unedit command

Can you remind me what is the role of this command for clearcase?

Emmanuel


Reply via email to