You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2022/11/23 11:55:00 UTC

[jira] [Commented] (MNG-7244) Remove deprecated WARNING for usage of pom.X placeholders

    [ https://issues.apache.org/jira/browse/MNG-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637710#comment-17637710 ] 

Tamas Cservenak commented on MNG-7244:
--------------------------------------

The Maven PR is wrong: the PR removes pom. prefix interpolation completely, but alas, this same interpolator is used to interpolate models for transitive dependencies.

Hence, it results that maven4 lost ability to resolve wagon-http 1.0-beta-6 that is used by some (older) plugins like surefire 2.22.2 and so on.

> Remove deprecated WARNING for usage of pom.X placeholders
> ---------------------------------------------------------
>
>                 Key: MNG-7244
>                 URL: https://issues.apache.org/jira/browse/MNG-7244
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Karl Heinz Marbaise
>            Assignee: Maarten Mulders
>            Priority: Minor
>             Fix For: 4.0.0-alpha-2, 4.0.0
>
>
> Currently, we produce a {{WARNING}} in case of using {{pom.version}} or alike.
> We've been doing that for years so people have had enough time to update their projects. We can now remove the support and the accompanying warning, resorting to the default behaviour of not resolving the expression at all.
> {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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)