[ 
https://issues.apache.org/jira/browse/MCHECKSTYLE-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704345#comment-17704345
 ] 

Michael Osipov commented on MCHECKSTYLE-429:
--------------------------------------------

Recent Maven Reporting Impl is local localRepository-free. See my doxia-2.0.0 
branch as well. With the upcoming major version this will be implicitly solved. 

> 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
>            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)

Reply via email to