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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17529019#comment-17529019 ] 

Hudson commented on MNG-7404:
-----------------------------

Build succeeded in Jenkins: Maven » Maven TLP » maven » master #39

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/master/39/

> 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)