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

overwriting property in version tag, rather than updating property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0-beta-8
    • None
    • None
    • None

    Description

      I have a multimodule project that has the following dependency setup in one of the poms

      <nexus-lvo-plugin.version>1.0.2-SNAPSHOT</nexus-lvo-plugin.version>

      <dependency>
      <groupId>org.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-lvo-plugin</artifactId>
      <version>${nexus-lvo-plugin.version}</version>
      </dependency>

      this nexus-lvo-plugin is in the same reactor build as the module above.

      In 2.0-beta-8, rather than simply updating the property w/ the release version, the <version> tag in the dependency is updated

      leaving

      <dependency>
      <groupId>org.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-lvo-plugin</artifactId>
      <version>1.0.2</version>
      </dependency>

      which causes me to have to update the pom after release is done. this didn't happen in previous release plugin versions

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              mpowers Max Powers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: