This is an automated email from the ASF dual-hosted git repository.

zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git

commit 6671e1a91f288d8552840a2517912e5820d0204b
Author: akshat0395 <akshatats...@gmail.com>
AuthorDate: Wed Dec 20 14:01:53 2023 +0530

    HIVE-27963: Build failure when license-maven-plugin downloads 
bsd-license.php (Akshat Mathur reviewed by Stamatis Zampetakis, Ayush Saxena)
    
    1. Add BSD-2-CLAUSE in licenseUrlFileNames patterns to unify downloaded 
files and avoid the build failure.
    2. Upgrade plugin version from 2.1.0 to 2.3.0 (unrelated to the failure but 
still beneficial)
    
    Close apache/hive#4963
---
 packaging/pom.xml | 4 ++++
 pom.xml           | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/packaging/pom.xml b/packaging/pom.xml
index 274dcc7d08b..9a25658475d 100644
--- a/packaging/pom.xml
+++ b/packaging/pom.xml
@@ -158,6 +158,10 @@
                   \Qhttps://opensource.org/licenses/Apache-2.0\E
                   \Qhttp://www.apache.org/licenses/\E
                 </APACHE-2.0>
+                <BSD-2-CLAUSE>
+                  https?://(www\.)?opensource.org/licenses/bsd-license.php
+                  https?://(www\.)?opensource.org/licenses/BSD-2-Clause
+                </BSD-2-CLAUSE>
                 <BSD-3-CLAUSE>
                   https?://(www\.)?opensource.org/licenses/BSD-3-Clause
                 </BSD-3-CLAUSE>
diff --git a/pom.xml b/pom.xml
index 62ba8c78d61..b6959e10cee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,7 +100,7 @@
     <maven.shade.plugin.version>3.5.0</maven.shade.plugin.version>
     <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
     <maven.cyclonedx.plugin.version>2.7.10</maven.cyclonedx.plugin.version>
-    <maven.license.plugin.version>2.1.0</maven.license.plugin.version>
+    <maven.license.plugin.version>2.3.0</maven.license.plugin.version>
     <!-- Library Dependency Versions -->
     <accumulo.version>1.10.1</accumulo.version>
     <ant.version>1.10.13</ant.version>

Reply via email to