Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-227

release:rollback fails when using Perforce

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-5
    • 2.0-beta-6
    • None
    • None
    • Maven 2.0.6

    Description

      The Perforce provider requires edit mode when changing files that are under source control. After a successful release:prepare, the release:rollback goal fails. It looks like RestoreBackupPomsPhase tries a FileUtils.copyFile, disregarding whether the SCM requires this or not – it then fails b/c the POM is readonly at this point.

      Attachments

        Issue Links

          Activity

            People

              evenisse Emmanuel Venisse
              pschneider Patrick Schneider
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: