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

Nested properties in versions cause prepare to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.5.2
    • None
    • prepare
    • 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. MRELEASE-913-1.patch
          18 kB
          Tim Mullender
        2. example.zip
          19 kB
          Tim Mullender

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tjmullender Tim Mullender
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: