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/03/23 19:54:00 UTC

[jira] [Created] (MCHECKSTYLE-429) Deprecation warning / incompatible with maven 3.9.x

Lenny Primak created MCHECKSTYLE-429:
----------------------------------------

             Summary: Deprecation warning / incompatible with maven 3.9.x
                 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
            Reporter: Lenny Primak


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)