jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-1382

Continuum release does not work well with Maven2 and Perforce SCM provider (files are locked so release prepare fails)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Incomplete
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: None
  • Component/s: Integration - Maven 2, SCM
  • Labels:
    None
  • Environment:
    Windows XP
  • Complexity:
    Intermediate

Description

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(AbstractRewritePomsPhase.java:678)
at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:623)
at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:193)
at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:116)
at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:99)
at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194)
at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:107)
at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:43)
at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:67)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: C:\TEMP\working-directory-beta1\1\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.shared.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:659)
... 14 more

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

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-1274 Release Project fails due to pom.xml not writable with perforce as SCM

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Jacobsen added a comment - 10/Aug/07 4:33 AM

It should read CONTINUUM-1274 and not CONTINUUM-1270. Sorry for the incovinience.

Show
Brian Jacobsen added a comment - 10/Aug/07 4:33 AM It should read CONTINUUM-1274 and not CONTINUUM-1270. Sorry for the incovinience.
Hide
Permalink
Wendy Smoak added a comment - 11/Sep/09 5:20 PM

Is this still a a problem with the latest release?

Show
Wendy Smoak added a comment - 11/Sep/09 5:20 PM Is this still a a problem with the latest release?
Hide
Permalink
Wendy Smoak added a comment - 02/Oct/09 4:27 PM

Please let us know if this is still a problem with the latest release, and we can reopen it.

Show
Wendy Smoak added a comment - 02/Oct/09 4:27 PM Please let us know if this is still a problem with the latest release, and we can reopen it.

People

  • Assignee:
    Unassigned
    Reporter:
    Brian Jacobsen
Vote (0)
Watch (0)

Dates

  • Created:
    10/Aug/07 4:31 AM
    Updated:
    02/Oct/09 4:27 PM
    Resolved:
    02/Oct/09 4:27 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.