diff --git a/pmd-java/pom.xml b/pmd-java/pom.xml
index abbf5c6902..e27629c9be 100644
--- a/pmd-java/pom.xml
+++ b/pmd-java/pom.xml
@@ -114,6 +114,11 @@
pmd
${project.version}
+
+ net.sourceforge.pmd
+ pmd-test
+ ${project.version}
+
org.apache.ant
ant
diff --git a/pmd-test/pom.xml b/pmd-test/pom.xml
new file mode 100644
index 0000000000..71d066955c
--- /dev/null
+++ b/pmd-test/pom.xml
@@ -0,0 +1,24 @@
+
+
+ 4.0.0
+ pmd-test
+ PMD Test Framework
+
+
+ net.sourceforge.pmd
+ pmd-aggregate
+ 5.1.4-SNAPSHOT
+
+
+
+
+ net.sourceforge.pmd
+ pmd
+ ${project.version}
+
+
+ junit
+ junit
+
+
+
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/AbstractTokenizerTest.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/AbstractTokenizerTest.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/AbstractTokenizerTest.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/AbstractTokenizerTest.java
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/PMDTestRunner.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/PMDTestRunner.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/PMDTestRunner.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/PMDTestRunner.java
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/RuleTst.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/RuleTst.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/SimpleAggregatorTst.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/SimpleAggregatorTst.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/SimpleAggregatorTst.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/SimpleAggregatorTst.java
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/StreamUtil.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/StreamUtil.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/StreamUtil.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/StreamUtil.java
diff --git a/pmd/src/test/java/net/sourceforge/pmd/testframework/TestDescriptor.java b/pmd-test/src/main/java/net/sourceforge/pmd/testframework/TestDescriptor.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/testframework/TestDescriptor.java
rename to pmd-test/src/main/java/net/sourceforge/pmd/testframework/TestDescriptor.java
diff --git a/pom.xml b/pom.xml
index 578ad815c5..0d8f40da64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -627,6 +627,7 @@
pmd
+ pmd-test
pmd-java
pmd-dist