diff --git a/build.xml b/build.xml
index 986c4b2d8..0579028a1 100644
--- a/build.xml
+++ b/build.xml
@@ -190,7 +190,16 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -349,10 +358,12 @@
-
+
+
-
+
@@ -664,6 +676,7 @@
+
@@ -727,6 +740,7 @@
+
diff --git a/lib/optional/README b/lib/optional/README
index 3310d4afc..a7f22222a 100644
--- a/lib/optional/README
+++ b/lib/optional/README
@@ -1,3 +1,4 @@
-The file junit-4.8.1.jar is version 4.8.1 of JUnit, see the file LICENSE.junit.html
-for the terms of distribution. For more information about JUnit or
-the latest release, see .
+The file junit-3.8.2.jar is version 3.8.2 of JUnit, whereas junit-4.8.1.jar is
+version 4.8.1 with the junit.** classes removed (except for the 3.x -> 4.x
+adapter); see the file LICENSE.junit.html for the terms of distribution. For
+more information about JUnit or the latest release, see .
diff --git a/lib/optional/junit-3.8.2.jar b/lib/optional/junit-3.8.2.jar
new file mode 100644
index 000000000..c8f711d05
Binary files /dev/null and b/lib/optional/junit-3.8.2.jar differ
diff --git a/lib/optional/junit-4.8.1.jar b/lib/optional/junit-4.8.1.jar
index 524cd65ce..c466ab688 100644
Binary files a/lib/optional/junit-4.8.1.jar and b/lib/optional/junit-4.8.1.jar differ
diff --git a/src/etc/poms/ant-junit/pom.xml b/src/etc/poms/ant-junit/pom.xml
index 4a1bb1011..1a7ec3b69 100644
--- a/src/etc/poms/ant-junit/pom.xml
+++ b/src/etc/poms/ant-junit/pom.xml
@@ -82,6 +82,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
org/apache/tools/ant/taskdefs/optional/junit/*
+
+ org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter*
+
diff --git a/src/etc/poms/ant-junit4/pom.xml b/src/etc/poms/ant-junit4/pom.xml
new file mode 100644
index 000000000..644348777
--- /dev/null
+++ b/src/etc/poms/ant-junit4/pom.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+ org.apache.ant
+ ant-parent
+ ../pom.xml
+ 1.8.2-SNAPSHOT
+
+ 4.0.0
+ org.apache.ant
+ ant-junit4
+ 1.8.2-SNAPSHOT
+ contains JUnit 4.x support
+
+
+ org.apache.ant
+ ant
+ 1.8.2-SNAPSHOT
+ compile
+
+
+ junit
+ junit
+ 4.8.1
+ compile
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 1.4
+ 1.4
+
+ org/apache/tools/ant/taskdefs/optional/junit/JUnit4TestMethodAdapter*
+
+
+
+
+ ../../../../src/main
+ ../../../../src/testcases
+ ../../../../target/${project.artifactId}/classes
+ ../../../../target/${project.artifactId}/testcases
+ ../../../../target/${project.artifactId}
+
+
diff --git a/src/etc/poms/pom.xml b/src/etc/poms/pom.xml
index 5fce47c1e..a7c37072d 100644
--- a/src/etc/poms/pom.xml
+++ b/src/etc/poms/pom.xml
@@ -85,6 +85,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
ant-jmf
ant-jsch
ant-junit
+ ant-junit4
ant-launcher
ant-netrexx
ant-swing