You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Manuel s (Jira)" <ji...@apache.org> on 2023/04/02 20:48:00 UTC
[jira] [Commented] (MASSEMBLY-977) Warning if using Maven 3.9.1
[ https://issues.apache.org/jira/browse/MASSEMBLY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707713#comment-17707713 ]
Manuel s commented on MASSEMBLY-977:
------------------------------------
It was in SUREFIRE-2154 also resolved
> 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
> Priority: Major
> Fix For: 3.5.1
>
>
> 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)