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

          Hide
          Carlo de Wolf added a comment -

          The mapping between scm and the directory structure isn't working properly. While the pom has dummy/trunk the actual directory is dummy/trunk/build.

          Show
          Carlo de Wolf added a comment - The mapping between scm and the directory structure isn't working properly. While the pom has dummy/trunk the actual directory is dummy/trunk/build.
          Hide
          Brett Porter added a comment -

          I think this is the same as MRELEASE-526 at first glance. I'll try to have a look at these issues and get a release out next week.

          Show
          Brett Porter added a comment - I think this is the same as MRELEASE-526 at first glance. I'll try to have a look at these issues and get a release out next week.
          Hide
          Brett Porter added a comment -

          in this example, the developerConnection is not aligned with the checkout. If you add /build to the end of it, it behaves correctly.

          Show
          Brett Porter added a comment - in this example, the developerConnection is not aligned with the checkout. If you add /build to the end of it, it behaves correctly.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: