diff --git a/pmd-java/pom.xml b/pmd-java/pom.xml
index f023cb2790..c32fd549fd 100644
--- a/pmd-java/pom.xml
+++ b/pmd-java/pom.xml
@@ -59,6 +59,23 @@
org.jetbrains.kotlin
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ default-testCompile
+ test-compile
+
+ testCompile
+
+
+
+
+ true
+
+
+
+
org.apache.maven.plugins
maven-antrun-plugin