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

Regression: releasing an individual module on a separate release cycle tags the entire project instead

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Not A Bug
    • Affects Version/s: 2.0-beta-9, 2.0
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None
    • Number of attachments :
      1

      Description

      We have a lot of projects which use individual release cycles for their respective modules. With the introduction of release plugin 2.0-beta-9 it doesn't tag the module anymore, but the whole project, thus breaking this previous working setup.

      See for example: http://anonsvn.jboss.org/repos/jbossas/projects/jboss-aspects/
      And a broken tag: http://anonsvn.jboss.org/repos/jbossas/projects/jboss-aspects/tags/jboss-aspects-build-1.0.2/

      To recreate the bug:
      $ svn admin create $HOME/tmp/svn-repo
      $ svn mkdir --parents file:///$HOME/tmp/svn-repo/dummy/tags file:///$HOME/tmp/svn-repo/dummy/trunk
      $ svn co file:///$HOME/tmp/svn-repo/dummy/trunk dummy
      $ (cd dummy; tar zxvf ../dummy.tgz)
      Modify build/pom.xml to substitute $HOME and use a broken version of release plugin.
      $ svn add .
      $ svn commit
      $ mvn release:prepare
      $ svn ls file:///$HOME/dummy/tags/dummy/tags/build-1.0.x

      1. dummy.tgz
        0.6 kB
        Carlo de Wolf

        Issue Links

          Activity

          Carlo de Wolf made changes -
          Field Original Value New Value
          Attachment dummy.tgz [ 50380 ]
          Carlo de Wolf made changes -
          Link This issue relates to MRELEASE-261 [ MRELEASE-261 ]
          Carlo de Wolf made changes -
          Link This issue relates to MRELEASE-546 [ MRELEASE-546 ]
          Brett Porter made changes -
          Fix Version/s 2.1 [ 12571 ]
          Brett Porter made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Brett Porter [ brettporter ]
          Fix Version/s 2.1 [ 12571 ]
          Resolution Not A Bug [ 6 ]

            People

            • Assignee:
              Brett Porter
              Reporter:
              Carlo de Wolf
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: