Skip to content

Commit a8b8314

Browse files
committed
Reuse ${maven.compiler.target} in Maven PMD configuration
1 parent 1eca053 commit a8b8314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<groupId>org.apache.maven.plugins</groupId>
132132
<artifactId>maven-pmd-plugin</artifactId>
133133
<configuration>
134-
<targetJdk>1.8</targetJdk>
134+
<targetJdk>${maven.compiler.target}</targetJdk>
135135
<excludes>
136136
<exclude>org/apache/commons/jxpath/ri/parser/*</exclude>
137137
</excludes>
@@ -256,7 +256,7 @@
256256
<groupId>org.apache.maven.plugins</groupId>
257257
<artifactId>maven-pmd-plugin</artifactId>
258258
<configuration>
259-
<targetJdk>1.8</targetJdk>
259+
<targetJdk>${maven.compiler.target}</targetJdk>
260260
<excludes>
261261
<exclude>org/apache/commons/jxpath/ri/parser/*</exclude>
262262
</excludes>

0 commit comments

Comments
 (0)