]> source.dussan.org Git - jgit.git/commitdiff
Fix PMD plugin configuration 91/1173391/1
authorMichael Keppler <Michael.Keppler@gmx.de>
Sun, 17 Dec 2023 14:30:35 +0000 (15:30 +0100)
committerMichael Keppler <Michael.Keppler@gmx.de>
Sun, 17 Dec 2023 14:30:35 +0000 (15:30 +0100)
The configuration element has been renamed in release 3.18, see
https://github.com/apache/maven-pmd-plugin/releases/tag/maven-pmd-plugin-3.18.0

Change-Id: Ia6ec6992c4348d77d4b61f34190a57775cc30cec

pom.xml

diff --git a/pom.xml b/pom.xml
index 8bc33659d83e4d5ca6703fcec37ca9ca5a8d9fdf..194461a9b2ed47c8e2a46e7a6758d134c516dea2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <artifactId>maven-pmd-plugin</artifactId>
           <version>3.20.0</version>
           <configuration>
-            <sourceEncoding>utf-8</sourceEncoding>
+            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
             <minimumTokens>100</minimumTokens>
             <targetJdk>${java.version}</targetJdk>
             <format>xml</format>