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

update versions does not update intermodule dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.5.2
    • Component/s: update-versions
    • Labels:
      None
    • Environment:
      Maven 2.2.1, JDK 6, XP SP3
    • Flags:
      Patch

      Description

      I recently tried the update-versions goal which is really nice and worked well. I cleaned my local repo today and reran "mvn package" on a multi-module project. It failed due tue a depenceny error.

      My project was previously on version 2.6.1-SNAPSHOT. Module war depends on module jar with the same version. When doing a release:prepare, the plugin perfectly bumps this intermodule dependency. The release:update-versions missed that dep spot. My build process failed.

      The goal should crawl for those deps too and update them if autoVersionSubmodules is on. (Same behavior as the prepare goal)

        Attachments

        1. MRELEASE-555.patch
          2 kB
          John Gibson

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                michael-o Michael Osipov
              • Votes:
                6 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: