]> source.dussan.org Git - vaadin-framework.git/commitdiff
Revert "Fix Mockito/Hamcrest build classpath conflict"
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Thu, 6 Oct 2016 10:29:03 +0000 (10:29 +0000)
committerVaadin Code Review <review@vaadin.com>
Thu, 6 Oct 2016 12:14:42 +0000 (12:14 +0000)
The change broke junit tests in projects using vaadin-bom.

This reverts commit 2ae14ad9affca86448ac1003280b7852354d8a6b.

Change-Id: I06524be9b6cc95e84f5f2b5c8faeb705d86e06bd

client/pom.xml
pom.xml

index 53a497b1836210f7c858f44794b8c2183207cd3e..ca6009a00736f69b5dd95d22d5f7aca40120c9cb 100644 (file)
             <groupId>com.google.gwt</groupId>
             <artifactId>gwt-elemental</artifactId>
         </dependency>
-
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/pom.xml b/pom.xml
index f25f81fbaf6e3ba59a7be13867237df88ac4936a..0092f32b63b8ed2e3aab937f3ea0289f0ada5cff 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
                 <version>4.12</version>
-                <exclusions>
-                   <exclusion>
-                       <artifactId>hamcrest-core</artifactId>
-                       <groupId>org.hamcrest</groupId>
-                   </exclusion>
-                </exclusions>
             </dependency>
             <dependency>
                 <groupId>org.easymock</groupId>
             </dependency>
             <dependency>
                 <groupId>org.mockito</groupId>
-                <artifactId>mockito-core</artifactId>
+                <artifactId>mockito-all</artifactId>
                 <version>1.9.5</version>
-                <exclusions>
-                   <exclusion>
-                      <artifactId>hamcrest-core</artifactId>
-                      <groupId>org.hamcrest</groupId>
-                  </exclusion>
-                </exclusions>
             </dependency>
             <dependency>
                 <groupId>org.hamcrest</groupId>
         </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
+            <artifactId>mockito-all</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>