Sercan Tekin created HIVE-29827:
-----------------------------------

             Summary: 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


`hive-standalone-metastore-server/pom.xml` currently declares:
```
<dependency>
  <groupId>org.apache.hive</groupId>
  <artifactId>hive-standalone-metastore-client</artifactId>
  <version>${hive.version}</version>
</dependency>
```
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