exclude foundation jar, conflicts with JDK 1.5 library classes

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@767399 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/pom.xml b/scrplugin/pom.xml
index 18910d0..88f8a49 100644
--- a/scrplugin/pom.xml
+++ b/scrplugin/pom.xml
@@ -55,6 +55,13 @@
 			<artifactId>org.osgi.compendium</artifactId>
 			<version>1.0.0</version>
 			<scope>compile</scope>
+			<exclusions>
+			  <!-- exclude foundation jar, conflicts with JDK 1.5 library classes -->
+			  <exclusion>
+			    <groupId>org.apache.felix</groupId>
+			    <artifactId>org.osgi.foundation</artifactId>
+			  </exclusion>
+			</exclusions>
 		</dependency>
 		
 		<dependency>