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

Tamas Cservenak commented on MNG-7717:
--------------------------------------

This is fixed but not in a way you think: there was a problem how deprecated 
expression was identified.

OTOH, this warning is not about your POM, but about Mojos/Plugins used in your 
POM: and in this case surefire 2.22.2 (Maven2 compatibie!) does suffer from 
this issue, it does use deprecated expression.

> Maven warns wrongly about ${localRepository} expression
> -------------------------------------------------------
>
>                 Key: MNG-7717
>                 URL: https://issues.apache.org/jira/browse/MNG-7717
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Major
>             Fix For: 4.0.0, 4.0.0-alpha-5, 3.9.1
>
>
> With MNG-7706 the {{localRepository}} Mojo parameter was deprecated as it is 
> represented by {{ArtifactRepository}} legacy type. But the code is too eager, 
> it warns about {{settings.localRepository}} expression as well, while it does 
> NOT use this legacy type.
> In short: it checks for parameter {*}name{*}, where instead it should check 
> for *type* and *defaultValue* expression.



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

Reply via email to