Permalink
Browse files

[SMX4NMR-303]ensure nmr testing/support can pull in correct spring ve…

…rsion

git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk@1400774 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 8e7a8e8 commit 126955c4fc4bd5c44cb40f69e8be5ee756daee4b @ffang ffang committed Oct 22, 2012
Showing with 37 additions and 3 deletions.
  1. +13 −0 pom.xml
  2. +24 −3 testing/support/pom.xml
View
@@ -208,6 +208,19 @@
<version>${spring.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+
+
<!-- Spring OSGi -->
<dependency>
<groupId>org.springframework.osgi</groupId>
@@ -89,14 +89,28 @@
<dependency>
<groupId>org.springframework.osgi</groupId>
<artifactId>spring-osgi-test</artifactId>
- <!-- this dep pulls org.springframework.test 2.5.6.A, it should be excluded but a testcase depends on it
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.test</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.aop</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.beans</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.context</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>org.springframework.core</artifactId>
+ </exclusion>
</exclusions>
- -->
</dependency>
<dependency>
<groupId>org.springframework.osgi</groupId>
@@ -130,6 +144,14 @@
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-mvn</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-test</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-core</artifactId>
+ </dependency>
</dependencies>
<build>
@@ -143,7 +165,6 @@
<Bundle-Description>${project.description}</Bundle-Description>
<Import-Package>
javax.management,
- org.springframework.jmx.support;version="${spring.import.range}",
org.apache.felix*;resolution:=optional,
org.apache.servicemix.platform.main;resolution:=optional,
org.apache.servicemix.platform.main.spi;resolution:=optional;version="1.0.0",

0 comments on commit 126955c

Please sign in to comment.