This is an automated email from the ASF dual-hosted git repository.
dengzh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new c7afebfe5b2 HIVE-28161: Incorrect Copyright years in META-INF/NOTICE
files (#5169) (Stamatis Zampetakis, reviewed by Denys Kuzmenko, Zhihua Deng)
c7afebfe5b2 is described below
commit c7afebfe5b201e771037c8d489cc2e03c3a1a425
Author: Stamatis Zampetakis <[email protected]>
AuthorDate: Wed May 1 13:59:53 2024 +0200
HIVE-28161: Incorrect Copyright years in META-INF/NOTICE files (#5169)
(Stamatis Zampetakis, reviewed by Denys Kuzmenko, Zhihua Deng)
The generated META-INF/NOTICE file which resides inside each jar produced
by Hive has incorrect copyright years.
Inside all jars the NOTICE file has the following incorrect content:
Copyright 2020 The Apache Software Foundation
The Copyright statement should include the timespan from the inception of
the project to now.
Copyright 2008-2024 The Apache Software Foundation
The problem can be easily seen by inspecting the jar content after building
any module or checking the previously published jars in Maven central.
---
pom.xml | 2 ++
standalone-metastore/pom.xml | 2 ++
storage-api/pom.xml | 2 ++
3 files changed, 6 insertions(+)
diff --git a/pom.xml b/pom.xml
index 2a63a4f0c23..2a2cc9e29ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,7 @@
<packaging>pom</packaging>
<name>Hive</name>
<url>https://hive.apache.org</url>
+ <inceptionYear>2008</inceptionYear>
<modules>
<module>storage-api</module>
<module>accumulo-handler</module>
@@ -226,6 +227,7 @@
<jansi.version>2.4.0</jansi.version>
<!-- If upgrading, upgrade atlas as well in ql/pom.xml, which brings in
some springframework dependencies transitively -->
<spring.version>5.3.21</spring.version>
+
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>
<repositories>
<!-- This needs to be removed before checking in-->
diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml
index 0afdeae1619..1081ad7b2f6 100644
--- a/standalone-metastore/pom.xml
+++ b/standalone-metastore/pom.xml
@@ -24,6 +24,7 @@
<version>4.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Hive Standalone Metastore</name>
+ <inceptionYear>2008</inceptionYear>
<modules>
<module>metastore-common</module>
<module>metastore-server</module>
@@ -117,6 +118,7 @@
<thrift.gen.dir>${basedir}/src/gen/thrift</thrift.gen.dir>
<thrift.args>-I ${thrift.home} -strict --gen
java:beans,generated_annotations=undated --gen cpp --gen php --gen py --gen rb
</thrift.args>
+
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>
<dependencyManagement>
<dependencies>
diff --git a/storage-api/pom.xml b/storage-api/pom.xml
index 34315e7f861..44e0a91c3f3 100644
--- a/storage-api/pom.xml
+++ b/storage-api/pom.xml
@@ -24,6 +24,7 @@
<version>4.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Hive Storage API</name>
+ <inceptionYear>2008</inceptionYear>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -38,6 +39,7 @@
<checkstyle.conf.dir>${basedir}/checkstyle/</checkstyle.conf.dir>
<maven.versions.plugin.version>2.16.0</maven.versions.plugin.version>
<maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
+
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>
<dependencies>
<!-- compile inter-project -->