You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/04/12 13:23:12 UTC
(commons-jxpath) 09/17: Reuse ${maven.compiler.target} in Maven PMD configuration
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git
commit a8b8314dedde6734b305b9b90d4de812c223ba04
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Sat Apr 12 08:51:18 2025 -0400
Reuse ${maven.compiler.target} in Maven PMD configuration
---
pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index baeb1fe..e1d3273 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,7 +131,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
- <targetJdk>1.8</targetJdk>
+ <targetJdk>${maven.compiler.target}</targetJdk>
<excludes>
<exclude>org/apache/commons/jxpath/ri/parser/*</exclude>
</excludes>
@@ -256,7 +256,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
- <targetJdk>1.8</targetJdk>
+ <targetJdk>${maven.compiler.target}</targetJdk>
<excludes>
<exclude>org/apache/commons/jxpath/ri/parser/*</exclude>
</excludes>