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/02/01 08:32:00 UTC
[jira] [Created] (MNG-7404) Change from deprecated WARNING to FAIL the build for usage of {X} placeholders rather than ${project.X}
Maarten Mulders created MNG-7404:
------------------------------------
Summary: 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
Fix For: 4.0.x-candidate
Currently we produce a {{WARNING}} in case of using {{pom.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 ${pom.version} is deprecated. Please use ${project.version} instead.
{code}
WDYT?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)