diff --git a/beeline/pom.xml b/beeline/pom.xml index fbd336780904..1e324ac57ca6 100644 --- a/beeline/pom.xml +++ b/beeline/pom.xml @@ -260,10 +260,135 @@ + + org.codehaus.mojo + license-maven-plugin + ${maven.license.plugin.version} + + + license-fetch + generate-resources + + download-licenses + + + + + false + ${project.baseUri}/src/license/artifact-filters.txt + true + true + + + https?://glassfish(.dev)?\.java\.net/.*CDDL.* + https://spdx.org/licenses/CDDL-1.1.html + + + https?://asm\.objectweb\.org/license.html + https://asm.ow2.io/license.html + + + http://(www\.)?antlr.org/license.html + http://www.antlr.org/license.html + + + + + https?://www\.apache\.org/licenses/LICENSE-2\.0.* + \Qhttps://aws.amazon.com/apache2.0\E + \Qhttps://opensource.org/licenses/Apache-2.0\E + \Qhttp://www.apache.org/licenses/\E + + + https?://(www\.)?opensource.org/licenses/bsd-license.php + https?://(www\.)?opensource.org/licenses/BSD-2-Clause + + + https?://(www\.)?opensource.org/licenses/BSD-3-Clause + + + \Qhttp://www.fsf.org/licensing/licenses/lgpl.txt\E + \Qhttp://www.gnu.org/licenses/lgpl-3.0.txt\E + + + \Qhttps://www.eclipse.org/org/documents/epl-v10.php\E + \Qhttp://www.eclipse.org/org/documents/epl-v10.php\E + + + \Qhttps://raw.githubusercontent.com/locationtech/jts/master/LICENSE_EPLv2.txt\E + \Qhttps://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt\E + + + \Qhttps://www.eclipse.org/org/documents/edl-v10.php\E + \Qhttp://www.eclipse.org/org/documents/edl-v10.php\E + + + https?://(www\.)?opensource\.org/licenses/mit(-license.php)? + + + https?://creativecommons\.org/publicdomain/zero/1\.0/? + + + + + [\s-_,]+ + - + + + + org.apache.maven.plugins maven-antrun-plugin + + + create-bin-license + generate-resources + + run + + + + + + + + + + + + + + stage-installer-input + prepare-package + + run + + + + + + + + + + + + + + + + + jpackage package @@ -284,9 +409,14 @@ - + - + @@ -338,7 +468,7 @@ - --win-console --type msi --win-dir-chooser --win-menu --win-menu-group "Apache Hive" --win-shortcut-prompt --win-help-url https://hive.apache.org/ --license-file ${project.basedir}/../LICENSE --resource-dir ${project.basedir}/src/main/jpackage/windows + --win-console --type msi --win-dir-chooser --win-menu --win-menu-group "Apache Hive" --win-shortcut-prompt --win-help-url https://hive.apache.org/ --license-file ${project.build.directory}/generated-resources/LICENSE --resource-dir ${project.basedir}/src/main/jpackage/windows @@ -402,6 +532,8 @@ "No known driver to handle jdbc:hive2://..." --> + + diff --git a/beeline/src/license/artifact-filters.txt b/beeline/src/license/artifact-filters.txt new file mode 100644 index 000000000000..3de82a0bc1a5 --- /dev/null +++ b/beeline/src/license/artifact-filters.txt @@ -0,0 +1,5 @@ +exclude gaPattern org\.apache\.hadoop:.* +include scope compile +include scope runtime +exclude scope provided +exclude scope test diff --git a/beeline/src/license/licenses.xml b/beeline/src/license/licenses.xml new file mode 100644 index 000000000000..f3f631bb50ad --- /dev/null +++ b/beeline/src/license/licenses.xml @@ -0,0 +1,702 @@ + + + + + + com.google.flatbuffers + flatbuffers-java + 1.12.0 + + + Apache License V2.0 + https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt + repo + + + + + com.sun.jersey.contribs + jersey-guice + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey.contribs + jersey-multipart + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey.contribs + wadl-resourcedoc-doclet + 1.4 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey + jersey-client + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey + jersey-core + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey + jersey-json + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey + jersey-server + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.jersey + jersey-servlet + 1.19 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + com.sun.xml.bind + jaxb-impl + 2.2.3-1 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + commons-el + commons-el + 1.0 + + + The Apache Software License, Version 2.0 + /LICENSE.txt + + + + + jakarta.jms + jakarta.jms-api + 2.0.2 + + + Eclipse Public License v. 2.0 + https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt + repo + eclipse-public-license-v.-2.0-epl-2.0.txt + + + + + javax.servlet + javax.servlet-api + 3.1.0 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + javax.ws.rs + javax.ws.rs-api + 2.0.1 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + javax.xml.bind + jaxb-api + 2.2.11 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + net.java.dev.jna + jna + 5.3.1 + + + Apache License v2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.apache.pig + pig + 0.16.0 + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.abego.treelayout + org.abego.treelayout.core + 1.0.1 + + + BSD-3-Clause + https://raw.githubusercontent.com/abego/treelayout/master/org.abego.treelayout/src/LICENSE.TXT + repo + + + + + org.codehaus.jackson + jackson-jaxrs + 1.9.2 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.codehaus.jackson + jackson-xc + 1.9.2 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.cryptacular + cryptacular + 1.2.4 + + + Apache 2 + http://www.apache.org/licenses/LICENSE-2.0.txt + APACHE-2.0 + + + + + org.eclipse.jetty.toolchain + jetty-schemas + 3.1.2 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty.websocket + websocket-api + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty.websocket + websocket-client + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty.websocket + websocket-common + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty.websocket + websocket-server + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty.websocket + websocket-servlet + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + apache-jsp + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jdt + ecj + 3.26.0 + + + Eclipse Public License v. 2.0 + https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt + repo + eclipse-public-license-v.-2.0-epl-2.0.txt + + + + + org.eclipse.jetty + apache-jstl + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-annotations + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-client + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-http + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-io + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-jaas + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-jndi + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-plus + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-rewrite + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-security + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-server + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-servlet + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-util-ajax + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-util + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-webapp + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.eclipse.jetty + jetty-xml + 9.4.57.v20241219 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.ehcache + ehcache + 3.3.1 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.javassist + javassist + 3.28.0-GA + + + Apache License 2.0 + http://www.apache.org/licenses/ + APACHE-2.0 + + + + + org.jvnet.mimepull + mimepull + 1.9.3 + + + CDDL 1.1 + https://spdx.org/licenses/CDDL-1.1.html + repo + CDDL-1.1.html + + + + + org.ldaptive + ldaptive + 1.0.13 + + + Apache 2 + http://www.apache.org/licenses/LICENSE-2.0.txt + APACHE-2.0 + + + + + org.lz4 + lz4-java + 1.8.0 + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + APACHE-2.0 + + + + + org.mortbay.jetty + jetty-util + 6.1.26 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.mortbay.jetty + jetty + 6.1.26 + + + Apache Software License - Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.mortbay.jetty + jsp-api-2.1 + 6.1.14 + + + Apache License Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0 + APACHE-2.0 + + + + + org.mortbay.jetty + servlet-api-2.5 + 6.1.14 + + + CDDL 1.0 + https://spdx.org/licenses/CDDL-1.1.html + + + + + oro + oro + 2.0.8 + + + Apache License Version 1.1 + https://www.apache.org/licenses/LICENSE-1.1 + APACHE-1.1 + + + + +