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

Wrong level when using release:branch

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.4
    • branch
    • None
    • Patch

    Description

      My project has different modules that reference a parent which is in its own folder. SCM part is as follows:

          <scm>
              <connection>scm:svn:http://blabla.com/trunk/parent</connection>
              <developerConnection>scm:svn:http://blabla.com/trunk/parent</developerConnection>
              <url>http://blabla.com/trunk/parent</url>
          </scm>
      

      When using the release:branch goal I then only see the parent folder in my SVN-branch instead of all modules one level higher. Releasing works fine though.

      I've compared the classes ScmBranchPhase and ScmTagPhase. It looks like the baseDir is not aligned in the case of ScmBranchPhase. After patching the class the branch goal worked as expected. Patch attached.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rfscholte Robert Scholte
            ylangisc Yves Langisch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment