Add explicit org.hamcrest dependency 25/9625/1
authorRobert Varga <rovarga@cisco.com>
Sun, 3 Aug 2014 12:26:45 +0000 (14:26 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 3 Aug 2014 12:26:45 +0000 (14:26 +0200)
org.mockito is pulling in hamcrest-core 1.1 while junit requires 1.3.
This results in failures when the two meet, for example in yangtools.

Change-Id: I4040d712f939aad698a45fca45c727918524578f
Signed-off-by: Robert Varga <rovarga@cisco.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index b84b970cba0d5c9763cc556788c82d8e13ee9e90..2b850b8cce484ad3993dda4d52a843f0c89ff2dd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,7 @@
     <geminiweb.version>2.2.0.RELEASE</geminiweb.version>
     <gson.version>2.2.4</gson.version>
     <guava.version>14.0.1</guava.version>
+    <hamcrest.version>1.3</hamcrest.version>
     <jackson.version>2.3.2</jackson.version>
     <jacoco.version>0.6.2.201302030002</jacoco.version>
     <jar.plugin.version>2.4</jar.plugin.version>
         <version>${mockito.version}</version>
         <scope>test</scope>
       </dependency>
+      <dependency>
+        <groupId>org.hamcrest</groupId>
+        <artifactId>hamcrest-core</artifactId>
+        <version>${hamcrest.version}</version>
+        <scope>test</scope>
+      </dependency>
       <dependency>
         <groupId>org.slf4j</groupId>
         <artifactId>slf4j-simple</artifactId>