This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new b670f39  [SPARK-24793][FOLLOW-UP][K8S] Remove duplicate declaration of 
mockito-core
b670f39 is described below

commit b670f39fc65e599bf7fe95229f22378da860eb8e
Author: Yuming Wang <[email protected]>
AuthorDate: Sat Mar 30 21:29:32 2019 -0700

    [SPARK-24793][FOLLOW-UP][K8S] Remove duplicate declaration of mockito-core
    
    ## What changes were proposed in this pull request?
    
    ```
    [WARNING] Some problems were encountered while building the effective model 
for org.apache.spark:spark-kubernetes_2.12:jar:3.0.0-SNAPSHOT
    [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' 
must be unique: org.mockito:mockito-core:jar -> duplicate declaration of 
version (?)  org.apache.spark:spark-kubernetes_2.12:[unknown-version], 
/Users/yumwang/spark/resource-managers/kubernetes/core/pom.xml, line 98, column 
17
    ```
    This pr remove duplicate declaration of `mockito-core`.
    
    ## How was this patch tested?
    
    N/A
    
    Closes #24256 from wangyum/SPARK-24793-FOLLOW-UP.
    
    Authored-by: Yuming Wang <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 resource-managers/kubernetes/core/pom.xml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/resource-managers/kubernetes/core/pom.xml 
b/resource-managers/kubernetes/core/pom.xml
index 85fd613..23106cb 100644
--- a/resource-managers/kubernetes/core/pom.xml
+++ b/resource-managers/kubernetes/core/pom.xml
@@ -54,12 +54,6 @@
     </dependency>
 
     <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
       <groupId>io.fabric8</groupId>
       <artifactId>kubernetes-client</artifactId>
       <version>${kubernetes.client.version}</version>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to