Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2486

${project.version} evaluated to timestamped version if referring to SNAPSHOT

    XMLWordPrintableJSON

Details

    Description

      when projects specify dependencyManagement sections with a shorthand version notation using the current project version (using ${project.version}) the version resolved will be that of the POM in which the dependencyManagement section is specified. If this POM is a snapshot, these dependency specifications will get the timestamp/buildnumber of that POM, instead of the actual one used when the dependency it references gets deployed.

      We should look at strategies for limiting or eliminating this practice, or else (somehow) pulling the real timestamp/buildnumber for that artifact from the reactor...in order to make these deps transitively resolvable for users.

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              jdcasey John Dennis Casey
              Votes:
              12 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: