[
https://issues.apache.org/jira/browse/HIVE-29001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raghav Aggarwal updated HIVE-29001:
-----------------------------------
Description:
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}
was:
in JDK-17 patch, duplicate mockito dependency in hive-commons pom.xml was
introduced causing maven build to throw warnings.
> 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
>
> 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)