antrun plugin needs compile scope for compiling the tests

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/trunk@1159577 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 5221ccb..9ffc156 100644
--- a/pom.xml
+++ b/pom.xml
@@ -318,7 +318,7 @@
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>3.8.1</version>
-            <scope>test</scope>
+            <scope>compile</scope>
           </dependency>
           <dependency>
             <groupId>sun.jdk</groupId>