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

Nested properties in versions cause prepare to fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None

      Description

      We have a multi module project in which module-b depends on module-a, the version of module-a in the pom for module-b is defined as a property which defaults to project.version

      When running release:prepare we get an error similar to the following:

      The artifact (groupId:module-a) requires a different version (1.0) than what is found (${project.version}) for the expression (property.name) in the project (groupId:module-b).
      

        Attachments

        1. example.zip
          19 kB
          Tim Mullender
        2. MRELEASE-913-1.patch
          18 kB
          Tim Mullender

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tjmullender Tim Mullender
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: