Changed the main pom.xml so the java compiler target is now fixed at 1.4 and modified the easymock dependency so it now uses a version of easymock that does not need 1.5 (actually >1.3). Refactored some of the initial tests I made to use this older API of easymock.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@418948 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index cd83501..36725ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,9 +100,9 @@
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>org.easymock</groupId>
+      <groupId>easymock</groupId>
       <artifactId>easymock</artifactId>
-      <version>2.2</version>
+      <version>1.2_Java1.3</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
@@ -110,6 +110,13 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <target>1.4</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
       </plugin>
       <plugin>