Maven Release Plugin
  1. Maven Release Plugin
  2. MRELEASE-727

release plugin uses wrong checkout directory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.2.2
    • Fix Version/s: 2.3
    • Component/s: perform
    • Labels:
      None
    • Environment:
      mvn 3.0.3

      Description

      When performing a release build on a multi module project, the plugin uses a wrong checkout directory and therefore is unable to perform the release.
      I tested this with both version 2.2 and 2.2.2

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.2:perform (default-cli) on project test_multi_parent: Error executing Maven. Working directory "/Users/domi/work/ws/sts_0/test_multi_parent/target/checkout/test_multi_parent/test_multi_parent" does not exist! -> [Help 1]

      We use flat project structure (where parent and modul project are in the same directory)
      The SVN Repo looks like this:

      .../svnrepos/KUQ/trunk/test_multi_parent
      .../svnrepos/KUQ/trunk/test_multi_module1

      I'll attache a minimal test project to reproduce it and a file containing the whole log output for release:prepare and release:perform

      To reproduce the problem:

      • adjust the SVN paths in the pom.xml
      • checkin to SVN
      • release:prepare
      • release:perform -Dgoals=install
      1. flat-project-layout.patch
        0.9 kB
        Dominik Richner
      2. MRELEASE-727.patch
        1.0 kB
        Mark Struberg
      3. release_failed.txt
        7 kB
        Dominik Richner
      4. testproject.zip
        13 kB
        Dominik Richner

        Issue Links

          Activity

          Dominik Richner created issue -
          Dominik Richner made changes -
          Field Original Value New Value
          Attachment flat-project-layout.patch [ 58837 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 2.3 [ 17453 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Robert Scholte made changes -
          Fix Version/s 2.2.3 [ 18334 ]
          Fix Version/s 2.3 [ 17453 ]
          Mark Struberg made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Mark Struberg made changes -
          Attachment MRELEASE-727.patch [ 59744 ]
          Mark Struberg made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Mark Struberg made changes -
          Link This issue relates to MRELEASE-740 [ MRELEASE-740 ]
          Philipp Paland made changes -
          Link This issue duplicates MRELEASE-725 [ MRELEASE-725 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:15:05 UTC 2015 [ 1428236105845 ]
          Mark Thomas made changes -
          Workflow jira [ 12724540 ] Default workflow, editable Closed status [ 12763741 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:52:26 UTC 2015 [ 1428281546237 ]
          Mark Thomas made changes -
          Workflow jira [ 12962225 ] Default workflow, editable Closed status [ 12999936 ]

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Dominik Richner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development