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

Lenny Primak commented on MCHECKSTYLE-429:
------------------------------------------

The new version of the plugin works with maven 3.9.2, but not with maven 
4.0.0-alpha-5:
{code:java}
[INFO] --- checkstyle:3.3.0:checkstyle (default) @ flowlogix ---
[WARN] 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] 
 {code}

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

Reply via email to