Skip to content

Commit 11ba110

Browse files
committedMar 26, 2013
TRUNK-3944: Incorrect mockito, hamcrest and junit dependencies
1 parent 2252d65 commit 11ba110

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed
 

‎pom.xml

+17-7
Original file line numberDiff line numberDiff line change
@@ -579,26 +579,37 @@
579579
<dependency>
580580
<groupId>junit</groupId>
581581
<artifactId>junit</artifactId>
582-
<version>4.8.1</version>
582+
<version>4.10</version>
583583
</dependency>
584584
<dependency>
585585
<groupId>org.mockito</groupId>
586-
<artifactId>mockito-all</artifactId>
587-
<version>1.8.5</version>
586+
<artifactId>mockito-core</artifactId>
587+
<version>1.9.5</version>
588588
</dependency>
589589
<dependency>
590590
<groupId>org.powermock</groupId>
591591
<artifactId>powermock-module-junit4</artifactId>
592-
<version>1.4.10</version>
592+
<version>1.5</version>
593593
</dependency>
594594
<dependency>
595595
<groupId>org.powermock</groupId>
596596
<artifactId>powermock-api-mockito</artifactId>
597-
<version>1.4.10</version>
597+
<version>1.5</version>
598+
<exclusions>
599+
<exclusion>
600+
<artifactId>mockito-all</artifactId>
601+
<groupId>org.mockito</groupId>
602+
</exclusion>
603+
</exclusions>
598604
</dependency>
599605
<dependency>
600606
<groupId>org.hamcrest</groupId>
601-
<artifactId>hamcrest-all</artifactId>
607+
<artifactId>hamcrest-core</artifactId>
608+
<version>1.3</version>
609+
</dependency>
610+
<dependency>
611+
<groupId>org.hamcrest</groupId>
612+
<artifactId>hamcrest-library</artifactId>
602613
<version>1.3</version>
603614
</dependency>
604615
<dependency>
@@ -1027,5 +1038,4 @@
10271038
<springVersion>3.0.5.RELEASE</springVersion>
10281039
<customArgLineForTesting></customArgLineForTesting>
10291040
</properties>
1030-
10311041
</project>

‎test/pom.xml

+10-5
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@
3535
<groupId>xmlunit</groupId>
3636
<artifactId>xmlunit</artifactId>
3737
</dependency>
38+
3839
<dependency>
3940
<groupId>org.mockito</groupId>
40-
<artifactId>mockito-all</artifactId>
41+
<artifactId>mockito-core</artifactId>
4142
</dependency>
4243
<dependency>
4344
<groupId>org.powermock</groupId>
@@ -47,9 +48,13 @@
4748
<groupId>org.powermock</groupId>
4849
<artifactId>powermock-api-mockito</artifactId>
4950
</dependency>
50-
<dependency>
51-
<groupId>org.hamcrest</groupId>
52-
<artifactId>hamcrest-all</artifactId>
53-
</dependency>
51+
<dependency>
52+
<groupId>org.hamcrest</groupId>
53+
<artifactId>hamcrest-core</artifactId>
54+
</dependency>
55+
<dependency>
56+
<groupId>org.hamcrest</groupId>
57+
<artifactId>hamcrest-library</artifactId>
58+
</dependency>
5459
</dependencies>
5560
</project>

0 commit comments

Comments
 (0)
Please sign in to comment.