diff --git a/pmd-apex/pom.xml b/pmd-apex/pom.xml
index 6a2f4084f9..5e5394daf1 100644
--- a/pmd-apex/pom.xml
+++ b/pmd-apex/pom.xml
@@ -104,12 +104,6 @@
pmd-core
-
- net.sourceforge.pmd
- pmd-test
- test
-
-
apex
apex-jorje-data
@@ -158,6 +152,32 @@
3.5.2
+
+ commons-io
+ commons-io
+
+
+
+ org.apache.commons
+ commons-lang3
+
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+
+ junit
+ junit
+ test
+
+
+ net.sourceforge.pmd
+ pmd-test
+ test
+
+
diff --git a/pmd-cpp/pom.xml b/pmd-cpp/pom.xml
index 8448a6db02..b22a429191 100644
--- a/pmd-cpp/pom.xml
+++ b/pmd-cpp/pom.xml
@@ -73,6 +73,10 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
junit
diff --git a/pmd-cs/pom.xml b/pmd-cs/pom.xml
index 4b0a3e8f7f..591b9a8ef1 100644
--- a/pmd-cs/pom.xml
+++ b/pmd-cs/pom.xml
@@ -32,7 +32,20 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-dist/pom.xml b/pmd-dist/pom.xml
index 7c56cf059d..85d183f441 100644
--- a/pmd-dist/pom.xml
+++ b/pmd-dist/pom.xml
@@ -172,6 +172,16 @@
${project.version}
+
+ commons-io
+ commons-io
+
+
+
+ org.apache.commons
+ commons-lang3
+
+
junit
junit
diff --git a/pmd-doc/pom.xml b/pmd-doc/pom.xml
index 1c4f745740..540b5db218 100644
--- a/pmd-doc/pom.xml
+++ b/pmd-doc/pom.xml
@@ -45,6 +45,20 @@
net.sourceforge.pmd
pmd-dist
${project.version}
+ runtime
+
+
+ net.sourceforge.pmd
+ pmd-core
+ ${project.version}
+
+
+ commons-io
+ commons-io
+
+
+ org.apache.commons
+ commons-lang3
diff --git a/pmd-fortran/pom.xml b/pmd-fortran/pom.xml
index 012cc06fb4..dc58ea6d15 100644
--- a/pmd-fortran/pom.xml
+++ b/pmd-fortran/pom.xml
@@ -32,7 +32,15 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ junit
+ junit
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-groovy/pom.xml b/pmd-groovy/pom.xml
index e1bb0e888c..8ae0b45110 100644
--- a/pmd-groovy/pom.xml
+++ b/pmd-groovy/pom.xml
@@ -33,6 +33,10 @@
org.codehaus.groovy
groovy
+
+ commons-io
+ commons-io
+
net.sourceforge.pmd
diff --git a/pmd-java/pom.xml b/pmd-java/pom.xml
index 0480b7f79e..9573af4e9f 100644
--- a/pmd-java/pom.xml
+++ b/pmd-java/pom.xml
@@ -131,6 +131,14 @@
org.ow2.asm
asm
+
+ commons-io
+ commons-io
+
+
+ org.apache.commons
+ commons-lang3
+
net.sourceforge.saxon
@@ -149,10 +157,20 @@
slf4j-api
test
+
+ junit
+ junit
+ test
+
com.github.stefanbirkner
system-rules
test
+
+ org.apache.ant
+ ant-testutil
+ test
+
diff --git a/pmd-java8/pom.xml b/pmd-java8/pom.xml
index 57f41dee41..9df9c3e5b2 100644
--- a/pmd-java8/pom.xml
+++ b/pmd-java8/pom.xml
@@ -56,38 +56,14 @@
jaxen
jaxen
-
- net.java.dev.javacc
- javacc
-
net.sourceforge.pmd
pmd-core
-
- net.sourceforge.saxon
- saxon
-
-
- org.ow2.asm
- asm
-
- net.sourceforge.saxon
- saxon
- dom
- runtime
-
-
-
- net.sourceforge.pmd
- pmd-test
- test
-
-
- org.slf4j
- slf4j-api
+ junit
+ junit
test
diff --git a/pmd-javascript/pom.xml b/pmd-javascript/pom.xml
index 3c86ee9806..f52c992bd0 100644
--- a/pmd-javascript/pom.xml
+++ b/pmd-javascript/pom.xml
@@ -99,7 +99,19 @@
org.mozilla
rhino
+
+ commons-io
+ commons-io
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ junit
+ junit
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-jsp/pom.xml b/pmd-jsp/pom.xml
index ba0abfbea7..3fddff63ad 100644
--- a/pmd-jsp/pom.xml
+++ b/pmd-jsp/pom.xml
@@ -100,7 +100,20 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-matlab/pom.xml b/pmd-matlab/pom.xml
index 48c697fa12..1cef8ba4b1 100644
--- a/pmd-matlab/pom.xml
+++ b/pmd-matlab/pom.xml
@@ -73,6 +73,10 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
junit
diff --git a/pmd-objectivec/pom.xml b/pmd-objectivec/pom.xml
index af412ffb4e..20c045ab3b 100644
--- a/pmd-objectivec/pom.xml
+++ b/pmd-objectivec/pom.xml
@@ -73,6 +73,10 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
junit
diff --git a/pmd-php/pom.xml b/pmd-php/pom.xml
index ec55df8dd1..435918dc75 100644
--- a/pmd-php/pom.xml
+++ b/pmd-php/pom.xml
@@ -33,6 +33,11 @@
pmd-core
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-plsql/pom.xml b/pmd-plsql/pom.xml
index f9d44d975a..3f62ba89a3 100644
--- a/pmd-plsql/pom.xml
+++ b/pmd-plsql/pom.xml
@@ -108,7 +108,24 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ jaxen
+ jaxen
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-python/pom.xml b/pmd-python/pom.xml
index d46b2b0d69..8d04710890 100644
--- a/pmd-python/pom.xml
+++ b/pmd-python/pom.xml
@@ -73,6 +73,10 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
junit
diff --git a/pmd-ruby/pom.xml b/pmd-ruby/pom.xml
index fc1476fd79..b9fb8b18a6 100644
--- a/pmd-ruby/pom.xml
+++ b/pmd-ruby/pom.xml
@@ -19,7 +19,16 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-swift/pom.xml b/pmd-swift/pom.xml
index adb286f2e0..20b5b3b522 100644
--- a/pmd-swift/pom.xml
+++ b/pmd-swift/pom.xml
@@ -38,11 +38,14 @@
org.antlr
antlr4-runtime
-
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
junit
diff --git a/pmd-test/pom.xml b/pmd-test/pom.xml
index 001772b173..1e5b375301 100644
--- a/pmd-test/pom.xml
+++ b/pmd-test/pom.xml
@@ -23,10 +23,18 @@
net.sourceforge.pmd
pmd-core
+
+ org.apache.ant
+ ant
+
org.apache.ant
ant-testutil
+
+ commons-io
+ commons-io
+
org.mockito
diff --git a/pmd-visualforce/pom.xml b/pmd-visualforce/pom.xml
index 4a8d26ce93..4cc469c9bb 100644
--- a/pmd-visualforce/pom.xml
+++ b/pmd-visualforce/pom.xml
@@ -100,7 +100,20 @@
net.sourceforge.pmd
pmd-core
+
+ commons-io
+ commons-io
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-vm/pom.xml b/pmd-vm/pom.xml
index d8c1778685..fb0e357f84 100644
--- a/pmd-vm/pom.xml
+++ b/pmd-vm/pom.xml
@@ -108,7 +108,20 @@
net.sourceforge.pmd
pmd-core
+
+ org.apache.commons
+ commons-lang3
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test
diff --git a/pmd-xml/pom.xml b/pmd-xml/pom.xml
index 3191d99e72..02a6c6931d 100644
--- a/pmd-xml/pom.xml
+++ b/pmd-xml/pom.xml
@@ -70,6 +70,10 @@
net.sourceforge.saxon
saxon
+
+ commons-io
+ commons-io
+
net.sourceforge.saxon
@@ -78,6 +82,11 @@
runtime
+
+ junit
+ junit
+ test
+
net.sourceforge.pmd
pmd-test