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

Releasing a renamed pom file using the -f option does release to wrong pom file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • None
    • None
    • Release is 3.0-RC1, Linux Ubuntu 32

    Description

      I have a directory containing 2 pom files that are used as our parent pom's:

      de.faktorlogik.pom/

      • pom.xml
      • bundle-pom.xml

      When I go into this folder and release the 'pom.xml' file using 'mvn release:prepare', and 'mvn release:perform' then everything is ok. However, when I try to release the 'bundle-pom.xml' then the 'mvn -f bundle-pom.xml release:prepare' process works, but the 'mvn f bundle-pom.xml release:perform' process releases the snapshot version of 'pom.xml' rather than the new version of the bundle-pom.xml file. Seems that the -f parameter is ignored in the latter case.

      Attachments

        1. pom.xml
          7 kB
          Ulli Hafner
        2. bundle-pom.xml
          5 kB
          Ulli Hafner
        3. maven.log
          9 kB
          Ulli Hafner

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              ulli Ulli Hafner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: