[ 
https://issues.apache.org/jira/browse/HIVE-29001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stamatis Zampetakis resolved HIVE-29001.
----------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/hive/commit/98c0a1a047e9c32b8418eee5c53d9413c0ac428d

> Remove duplicate mockito dependency in hive-common pom causing maven warnings
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-29001
>                 URL: https://issues.apache.org/jira/browse/HIVE-29001
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> in JDK-17 patch, duplicate mockito dependency in hive-commons pom.xml was 
> introduced causing maven build to throw warnings.
> {code:java}
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.hive:hive-common:jar:4.1.0-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: org.mockito:mockito-core:jar -> duplicate declaration of version 
> ${mockito-core.version} @ line 360, column 17
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they 
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support 
> building such malformed projects.
> [WARNING] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to