Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.0-beta-9, 2.0
    • None
    • prepare
    • None

    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

      Attachments

        1. dummy.tgz
          0.6 kB
          Carlo de Wolf

        Issue Links

          Activity

            People

              brett Brett Porter
              wolfc Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: