Stefan Mueller created MASSEMBLY-977:
----------------------------------------

             Summary: Warning if using Maven 3.9.1
                 Key: MASSEMBLY-977
                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-977
             Project: Maven Assembly Plugin
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: Stefan Mueller


If using the latest Maven Version 3.9.1 the assembly-plugin produces this 
warning:

 
{noformat}
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use 
of ArtifactRepository type. If you need access to local repository, switch to 
'${repositorySystemSession}' expression and get LRM from it instead.{noformat}
 

Probably to be fixed in 
[AbstractAssemblyMojo|https://github.com/apache/maven-assembly-plugin/blob/master/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java],
 Property localRepository.

 

 

 



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

Reply via email to