You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/12 20:13:00 UTC
[jira] [Closed] (MPMD-376) localRepository is deprecated
[ https://issues.apache.org/jira/browse/MPMD-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MPMD-376.
-------------------------------
Resolution: Duplicate
> localRepository is deprecated
> -----------------------------
>
> Key: MPMD-376
> URL: https://issues.apache.org/jira/browse/MPMD-376
> Project: Maven PMD Plugin
> Issue Type: Bug
> Reporter: Gili
> Priority: Major
>
> When running PMD on my project, I get the following warning messages that seem to be a problem in the Maven Plugin:
> PMD 3.20.0
> {code:java}
> [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.
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> [WARNING] Unable to locate Source XRef to link to - DISABLED
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)