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

Tamas Cservenak updated MNG-7717:
---------------------------------
    Description: 
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.

  was: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.


> 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
>            Priority: Major
>             Fix For: 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