Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-752

maven-release-plugin:2.5:prepare fails with 'Error writing POM: (Access is denied)'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1
    • Component/s: maven-scm-provider-tfs
    • Labels:
      None
    • Environment:
      TFS-2010

      Description

      maven-release-plugin cannot work with the TFS-provider, because TFS requires "edit mode" in order to change files. Currently, TfsScmProvider has no own implementation for requiresEditMode(), and its super (AbstractScmProvider) returns false. so upon release:prepare phase, on phase called 'rewrite-poms-for-release', which is the phase where maven tries to change poms into release, it fails. on ACCESS DENIED
      see this: http://stackoverflow.com/questions/23809214/maven-release-plugin2-5prepare-fails-with-error-writing-pom-access-is-denie

        Attachments

          Activity

            People

            • Assignee:
              hboutemy Herve Boutemy
              Reporter:
              ohadr Ohad R
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: