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

release:prepare does not pass argument "--settings" with current settings.xml to inner maven

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-9, 2.0
    • Fix Version/s: 2.2.2
    • Component/s: prepare

      Description

      The impact is that release:prepare tries to use $HOME/.m2/settings.xml instead of the one supplied by --settings cmdline option, which leads to unexpected behavior
      Of course if it does not exist, the inhouse repository is avoided and release often fails due to a ResourceDoesNotExistException when an inhouse artifact is requested by the pom.

      To reproduce this problem, just rename your ~/.m2/settings.xml to ~/.m2/s.xml and run this:
      mvn --settings=$HOME/.m2/s.xml release:prepare .....

        Issue Links

          Activity

          Petr Kozelka created issue -
          stephenconnolly made changes -
          Field Original Value New Value
          Labels contributers-welcome
          stephenconnolly made changes -
          Fix Version/s Backlog [ 16767 ]
          Christoph Kutzinski made changes -
          Link This issue is duplicated by MRELEASE-521 [ MRELEASE-521 ]
          stephenconnolly made changes -
          Resolution Fixed [ 1 ]
          Assignee Stephen Connolly [ stephenconnolly ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s Backlog [ 16767 ]
          stephenconnolly made changes -
          Fix Version/s 2.2.2 [ 18224 ]
          Anca Luca made changes -
          Link This issue is related to MNG-5224 [ MNG-5224 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:15:05 UTC 2015 [ 1428236105845 ]
          Mark Thomas made changes -
          Workflow jira [ 12724393 ] Default workflow, editable Closed status [ 12763583 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:52:26 UTC 2015 [ 1428281546237 ]
          Mark Thomas made changes -
          Workflow jira [ 12962094 ] Default workflow, editable Closed status [ 12999544 ]

            People

            • Assignee:
              stephenconnolly
              Reporter:
              Petr Kozelka
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development