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

Sercan Tekin updated HIVE-29827:
--------------------------------
    Description: 
{{hive-standalone-metastore-server/pom.xml}} currently declares:

{code:java}
<dependency>
  <groupId>org.apache.hive</groupId>
  <artifactId>hive-standalone-metastore-client</artifactId>
  <version>${hive.version}</version>
</dependency>
{code}

This appears to be the only internal Hive module dependency using 
`${hive.version}` instead of `${project.version}`.

If these values differ (for example, when a suffix is added to the project 
version), Maven may attempt to resolve `hive-standalone-metastore-client` from 
a remote repository rather than using the artifact built in the current reactor.

The attached PR replaces `${hive.version}` with `${project.version}` to make 
the dependency consistent with the rest of the project and ensure proper 
reactor resolution.

  was:
`hive-standalone-metastore-server/pom.xml` currently declares:

{code:java}
<dependency>
  <groupId>org.apache.hive</groupId>
  <artifactId>hive-standalone-metastore-client</artifactId>
  <version>${hive.version}</version>
</dependency>
{code}

This appears to be the only internal Hive module dependency using 
`${hive.version}` instead of `${project.version}`.

If these values differ (for example, when a suffix is added to the project 
version), Maven may attempt to resolve `hive-standalone-metastore-client` from 
a remote repository rather than using the artifact built in the current reactor.

The attached PR replaces `${hive.version}` with `${project.version}` to make 
the dependency consistent with the rest of the project and ensure proper 
reactor resolution.


> Reactor build may resolve internal dependency from remote repository
> --------------------------------------------------------------------
>
>                 Key: HIVE-29827
>                 URL: https://issues.apache.org/jira/browse/HIVE-29827
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 4.1.0
>            Reporter: Sercan Tekin
>            Assignee: Sercan Tekin
>            Priority: Major
>              Labels: build-problem
>
> {{hive-standalone-metastore-server/pom.xml}} currently declares:
> {code:java}
> <dependency>
>   <groupId>org.apache.hive</groupId>
>   <artifactId>hive-standalone-metastore-client</artifactId>
>   <version>${hive.version}</version>
> </dependency>
> {code}
> This appears to be the only internal Hive module dependency using 
> `${hive.version}` instead of `${project.version}`.
> If these values differ (for example, when a suffix is added to the project 
> version), Maven may attempt to resolve `hive-standalone-metastore-client` 
> from a remote repository rather than using the artifact built in the current 
> reactor.
> The attached PR replaces `${hive.version}` with `${project.version}` to make 
> the dependency consistent with the rest of the project and ensure proper 
> reactor resolution.



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

Reply via email to