Skip to content

Commit 31926a6

Browse files
committed
DATACMNS-178 - Fixed dependency scope for JUnit.
Reduced scope of junit-dep dependency from compile to test.
1 parent f2989f5 commit 31926a6

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

spring-data-commons-core/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@
5959
<scope>test</scope>
6060
</dependency>
6161

62-
<dependency>
63-
<groupId>junit</groupId>
64-
<artifactId>junit-dep</artifactId>
65-
<version>4.10</version>
66-
</dependency>
6762
<dependency>
6863
<groupId>org.springframework</groupId>
6964
<artifactId>spring-test</artifactId>

spring-data-commons-parent/pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<junit.version>4.8.1</junit.version>
14+
<junit.version>4.10</junit.version>
1515
<log4j.version>1.2.16</log4j.version>
1616
<org.mockito.version>1.8.5</org.mockito.version>
1717
<org.springframework.version.30>3.0.7.RELEASE</org.springframework.version.30>
@@ -100,18 +100,25 @@
100100

101101
<dependency>
102102
<groupId>org.hamcrest</groupId>
103-
<artifactId>hamcrest-core</artifactId>
103+
<artifactId>hamcrest-library</artifactId>
104104
<version>${org.hamcrest.version}</version>
105105
<scope>test</scope>
106106
</dependency>
107107

108108
<dependency>
109109
<groupId>org.hamcrest</groupId>
110-
<artifactId>hamcrest-library</artifactId>
110+
<artifactId>hamcrest-core</artifactId>
111111
<version>${org.hamcrest.version}</version>
112112
<scope>test</scope>
113113
</dependency>
114114

115+
<dependency>
116+
<groupId>junit</groupId>
117+
<artifactId>junit-dep</artifactId>
118+
<version>${junit.version}</version>
119+
<scope>test</scope>
120+
</dependency>
121+
115122
</dependencies>
116123

117124
<build>

0 commit comments

Comments
 (0)