Skip to content
This repository
Browse code

Update pom for SPR-8499 based on user feedback

And upgrade spring-context dependency to 3.1.0.BUILD-SNAPSHOT to ensure
the reported exception is still logged as it was against 3.0.5.RELEASE.

Issue: SPR-8499
  • Loading branch information...
commit 9c28801d459e372bcc063a1527a5ad98ca4c046f 1 parent 09aea36
Chris Beams authored July 02, 2011
33  SPR-8499/pom.xml
@@ -10,7 +10,14 @@
10 10
 		<dependency>
11 11
 			<groupId>org.springframework</groupId>
12 12
 			<artifactId>spring-context</artifactId>
13  
-			<version>3.0.5.RELEASE</version>
  13
+			<version>3.1.0.BUILD-SNAPSHOT</version>
  14
+			<scope>runtime</scope>
  15
+			<exclusions>
  16
+				<exclusion>
  17
+					<groupId>commons-logging</groupId>
  18
+					<artifactId>commons-logging</artifactId>
  19
+				</exclusion>
  20
+			</exclusions>
14 21
 		</dependency>
15 22
 		<dependency>
16 23
 			<groupId>junit</groupId>
@@ -19,14 +26,25 @@
19 26
 			<scope>test</scope>
20 27
 		</dependency>
21 28
 		<dependency>
22  
-			<groupId>ch.qos.logback</groupId>
23  
-			<artifactId>logback-classic</artifactId>
24  
-			<version>0.9.28</version>
  29
+			<groupId>org.slf4j</groupId>
  30
+			<artifactId>slf4j-api</artifactId>
  31
+			<version>1.6.1</version>
25 32
 		</dependency>
26 33
 		<dependency>
27 34
 			<groupId>org.slf4j</groupId>
28  
-			<artifactId>slf4j-api</artifactId>
  35
+			<artifactId>jcl-over-slf4j</artifactId>
29 36
 			<version>1.6.1</version>
  37
+			<scope>runtime</scope>
  38
+		</dependency>
  39
+		<dependency>
  40
+			<groupId>ch.qos.logback</groupId>
  41
+			<artifactId>logback-core</artifactId>
  42
+			<version>0.9.28</version>
  43
+		</dependency>
  44
+		<dependency>
  45
+			<groupId>ch.qos.logback</groupId>
  46
+			<artifactId>logback-classic</artifactId>
  47
+			<version>0.9.28</version>
30 48
 		</dependency>
31 49
 	</dependencies>
32 50
 	<repositories>
@@ -34,7 +52,9 @@
34 52
 			<id>spring-maven-snapshot</id>
35 53
 			<name>Springframework Maven Snapshot Repository</name>
36 54
 			<url>http://maven.springframework.org/snapshot</url>
37  
-			<snapshots><enabled>true</enabled></snapshots>
  55
+			<snapshots>
  56
+				<enabled>true</enabled>
  57
+			</snapshots>
38 58
 		</repository>
39 59
 	</repositories>
40 60
 	<properties>
@@ -63,4 +83,3 @@
63 83
 		</plugins>
64 84
 	</build>
65 85
 </project>
66  
-
2  SPR-8499/src/test/java/com/test/MyReciever.java
@@ -5,7 +5,7 @@ public MyInterface getInterface() {
5 5
 		return null;
6 6
 	}
7 7
 	public void setInterface(MyInterface parent) {
8  
-		System.out.println("we got the interface!");
  8
+		System.out.println("we got the interface! " + parent);
9 9
 	}
10 10
 	public void callMethod() {
11 11
 		System.out.println("OK");

0 notes on commit 9c28801

Please sign in to comment.
Something went wrong with that request. Please try again.