Stamatis Zampetakis created HIVE-28566:
------------------------------------------

             Summary: Simplify version identifier in patched-iceberg modules
                 Key: HIVE-28566
                 URL: https://issues.apache.org/jira/browse/HIVE-28566
             Project: Hive
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: Iceberg integration
            Reporter: Stamatis Zampetakis
            Assignee: Stamatis Zampetakis


Currently the version identifier for patched-iceberg-api and 
patched-iceberg-core is unnecessary complex since it includes the "patched" 
prefix, the iceberg version that is used in the Hive project, plus the Hive 
version identifier.

The version identifiers for our current releases appear as below in central:
* patched-1.4.3-4.0.0
* patched-1.3.0-4.0.0-beta-1
* patched-1.4.3-4.0.1
* patched-0.14.1-4.0.0-alpha-2

https://central.sonatype.com/artifact/org.apache.hive/patched-iceberg-api/versions
https://central.sonatype.com/artifact/org.apache.hive/patched-iceberg-core/versions

Maven also raises a warning for these modules since version is not constant.
{noformat}
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.hive:patched-iceberg-api:jar:patched-1.6.1-4.1.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ 
org.apache.hive:patched-iceberg-api:patched-${iceberg.version}-${project.parent.version},
 /home/stamatis/Projects/Apache/hive/iceberg/patched-iceberg-api/pom.xml, line 
25, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.hive:patched-iceberg-core:jar:patched-1.6.1-4.1.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ 
org.apache.hive:patched-iceberg-core:patched-${iceberg.version}-${project.parent.version},
 /home/stamatis/Projects/Apache/hive/iceberg/patched-iceberg-core/pom.xml, line 
25, column 12
[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.
{noformat}

These patched modules are part of the Hive release so they should adhere to 
versioning conventions of the rest of the modules so that they can be easily 
associated with a specific Hive release.



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

Reply via email to