You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Mueller (Jira)" <ji...@apache.org> on 2023/03/21 12:48:00 UTC

[jira] [Created] (MASSEMBLY-977) Warning if using Maven 3.9.1

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)