You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2022/04/27 18:57:00 UTC

[jira] [Resolved] (MNG-7404) Change from deprecated WARNING to FAIL the build for usage of {X} placeholders rather than ${project.X}

     [ https://issues.apache.org/jira/browse/MNG-7404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Mulders resolved MNG-7404.
----------------------------------
    Fix Version/s: 4.0.0-alpha-1
                       (was: 4.0.x-candidate)
       Resolution: Fixed

Fixed in {{[apache/maven@93196d4|https://github.com/apache/maven/commit/93196d4bb72d3bf434256111f294d5bd1dd09d11]}}.

> Change from deprecated WARNING to FAIL the build for usage of {X} placeholders rather than ${project.X}
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-7404
>                 URL: https://issues.apache.org/jira/browse/MNG-7404
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Maarten Mulders
>            Assignee: Maarten Mulders
>            Priority: Minor
>              Labels: must-be-in-4.0.0-alpha-1
>             Fix For: 4.0.0-alpha-1
>
>
> Currently we produce a {{WARNING}} in case of using {{version}} or alike.
> I would suggest to change {{WARNING}} into a failing build in such use cases.
> {code}
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for 'com.soebes.examples.j2ee:appasm:pom:1.0-SNAPSHOT'
> [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. 
> {code}
> WDYT?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)