You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lenny Primak (Jira)" <ji...@apache.org> on 2024/03/18 23:28:00 UTC
[jira] [Commented] (MCHECKSTYLE-429) Deprecation warning
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828126#comment-17828126 ]
Lenny Primak commented on MCHECKSTYLE-429:
------------------------------------------
This appears to be fixed. You can close this issue, thanks!
> Deprecation warning
> -------------------
>
> Key: MCHECKSTYLE-429
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-429
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Components: checkstyle:checkstyle
> Affects Versions: 3.2.1, 3.2.2
> Reporter: Lenny Primak
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 4.0.0-M1
>
>
> Every time checkstyle plugin is ran, the following warning occurs:
> {code:java}
> [INFO] --- checkstyle:3.2.1:checkstyle (default) @ shiro-cdi ---
> [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.
> [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
> [INFO] Starting audit...
> Audit done.
> {code}
> Looks like maven 3.9.x deprecated `localRepository` variable and the plugin needs to be updated to reflect this
--
This message was sent by Atlassian Jira
(v8.20.10#820010)