diff --git a/pom.xml b/pom.xml
index 08ad23da..4fca0c4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,8 +79,8 @@
org.apache.maven.plugins
maven-compiler-plugin
-
- 1.8
+
+ ${java.version}
@@ -100,7 +100,7 @@
org.apache.maven.plugins
maven-pmd-plugin
- 3.10.0
+ 3.21.2
false
false