-
- Downloads
[SPARK-8683] [BUILD] Depend on mockito-core instead of mockito-all
Spark's tests currently depend on `mockito-all`, which bundles Hamcrest and Objenesis classes. Instead, it should depend on `mockito-core`, which declares those libraries as Maven dependencies. This is necessary in order to fix a dependency conflict that leads to a NoSuchMethodError when using certain Hamcrest matchers. See https://github.com/mockito/mockito/wiki/Declaring-mockito-dependency for more details. Author: Josh Rosen <joshrosen@databricks.com> Closes #7061 from JoshRosen/mockito-core-instead-of-all and squashes the following commits: 70eccbe [Josh Rosen] Depend on mockito-core instead of mockito-all.
Showing
- LICENSE 1 addition, 1 deletionLICENSE
- core/pom.xml 1 addition, 1 deletioncore/pom.xml
- extras/kinesis-asl/pom.xml 1 addition, 1 deletionextras/kinesis-asl/pom.xml
- launcher/pom.xml 1 addition, 1 deletionlauncher/pom.xml
- mllib/pom.xml 1 addition, 1 deletionmllib/pom.xml
- network/common/pom.xml 1 addition, 1 deletionnetwork/common/pom.xml
- network/shuffle/pom.xml 1 addition, 1 deletionnetwork/shuffle/pom.xml
- pom.xml 1 addition, 1 deletionpom.xml
- repl/pom.xml 1 addition, 1 deletionrepl/pom.xml
- unsafe/pom.xml 1 addition, 1 deletionunsafe/pom.xml
- yarn/pom.xml 1 addition, 1 deletionyarn/pom.xml
Loading
Please register or sign in to comment