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

The next snapshot version is not used un submodules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-4
    • 2.0-beta-5
    • None
    • None

    Description

      In multi-module mode the release plugin replaces the version of snapshot dependencies in the submodules automatically for dependencies that are also part of the release. But this versions are not set to the next version after the release process. E.g. in a module with two submodules (one EJB and an EAR depedning on this EJB) the EJB depednency is added with a SNAPSHOT depednecny. At release time the plugin replaces this version with the version used for the release. After the release the version tag in the parent section of both POMs are set to the next version, but the verison in the EARs depednency stays at the release. This is higly error-prone, since with the next release the EAR still references the old version of the EJB.

      Attachments

        1. 2.0-beta-4.patch
          6 kB
          Tom Parker
        2. PomRewriteVersions.patch
          43 kB
          Tom Parker
        3. dryRun.patch
          5 kB
          Tom Parker

        Activity

          People

            evenisse Emmanuel Venisse
            joehni Joerg Schaible
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: