maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Jacobsen (JIRA)" <>
Subject [jira] Created: (CONTINUUM-1382) Continuum release does not work well with Maven2 and Perforce SCM provider (files are locked so release prepare fails)
Date Fri, 10 Aug 2007 09:33:13 GMT
Continuum release does not work well with Maven2 and Perforce SCM provider (files are locked
so release prepare fails)

                 Key: CONTINUUM-1382
             Project: Continuum
          Issue Type: Bug
          Components: Integration - Maven 2, SCM
    Affects Versions: 1.1-beta-1
         Environment: Windows XP
            Reporter: Brian Jacobsen

Although stated that this is fixed in 1.1alpha2 (Continuum-1270) I still have this issue with
the 1.1-beta-1 release.

[INFO] Updating local copy against the scm...
[INFO] Verifying that there are no local modifications...
[INFO] Checking dependencies and plugins for snapshots ...
[ERROR] org.apache.maven.shared.release.ReleaseExecutionException: Error writing POM: C:\TEMP\working-directory-beta1\1\pom.xml
(Access is denied)
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformProject(
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transform(
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.execute(
	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(
	at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(
	at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(
	at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$
Caused by: C:\TEMP\working-directory-beta1\1\pom.xml (Access
is denied)
	at Method)
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(
	... 14 more

Manually patching the scm-perforce-provider implementation as suggested in Continuum-1270
and bundling it with Continuum seems to fix the problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message