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

                 Key: MNG-4421
                 URL: http://jira.codehaus.org/browse/MNG-4421
             Project: Maven 2
          Issue Type: Improvement
          Components: Inheritance and Interpolation, Reactor and workspace
    Affects Versions: 3.0-alpha-2
            Reporter: Paul Benedict


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:
{quote}For backward compat they will remain during 3.0. We should collapse them 
in 3.1.{quote}

Brian Fox says:
{quote}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.{quote}

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to