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 2023/05/11 23:56:00 UTC
[jira] [Updated] (MCHECKSTYLE-429) Deprecation warning
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lenny Primak updated MCHECKSTYLE-429:
-------------------------------------
Affects Version/s: 3.2.2
> 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
> Priority: Major
>
> 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)