maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Jacobsen (JIRA)" <>
Subject [jira] Created: (CONTINUUM-1381) CLONE -Release Project fails due to pom.xml not writable with perforce as SCM
Date Fri, 10 Aug 2007 09:23:13 GMT
CLONE -Release Project fails due to pom.xml not writable with perforce as SCM

                 Key: CONTINUUM-1381
             Project: Continuum
          Issue Type: Bug
          Components: Integration - Maven 2, SCM
    Affects Versions: 1.1-alpha-1
         Environment: ubunto 7.04 java 6
            Reporter: Brian Jacobsen
            Priority: Critical
             Fix For: 1.1-alpha-2

All release steps from update-working-copy to map-development-versions work fine. The next
phase '  rewrite-poms-for-release' fails because of read-only pom.xml. 

this could be an issue with the scmUseEdit flag since perforce file are read-only by default.

see log output:
(I tried to fix alpha-2 by myself therfor log output is alpha2-SNAPSHOT, error reproduces
with alpha-1, too)
[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: /home/drmtest/continuum-1.1-alpha-2-SNAPSHOT/continuum-webapp/src/main/webapp/WEB-INF/working-directory/1/pom.xml
(Permission 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: /home/drmtest/continuum-1.1-alpha-2-SNAPSHOT/continuum-webapp/src/main/webapp/WEB-INF/working-directory/1/pom.xml
(Permission denied)
	at Method)
	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(
	... 14 more

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