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

Warn regarding old-style references when used in a project build

    XMLWordPrintableJSON

Details

    Description

      I was reading the Introduction to the POM page. It says:

      > These variables are all referenced by the prefix "project.".
      > You may also see references with pom. as the prefix, or the
      > prefix omitted entirely - these forms are now deprecated and
      > should not be used.

      Jason van Zyl says:

      For backward compat they will remain during 3.0. We should collapse them in 3.1.

      Brian Fox says:

      Yeah deprecated in 3.x. However we'll always have to support them when resolving things from the repo since that's cast in stone for projects already released. We should not support them for projects being built with 3.x though.

      Paul Merlin has suggested giving them warnings to facilitate their dis-use.

      The summary is:
      (a) 3.0 should warn about the old-style references
      (b) The references must remain interpolated when present in poms drawn from the repositories
      (c) 3.1 should prevent their use in project builds

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              pbenedict Paul Benedict
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: