diff --git a/pom.xml b/pom.xml index 7723321bb..4709f39bf 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,6 @@ - 0.27 1.78.1 1.9.13 1.15 @@ -46,7 +45,7 @@ 3.14.0 1.3.1 1.11.0 - 2.16.1 + 2.17.0 32.0.1-jre 3.3.6 true @@ -61,13 +60,13 @@ 4.1.94.Final 9.37.3 3.1 - 1.13.1 + 1.14.1 2.0.9 UTF-8 3.19.6 net.snowflake.ingest.internal 1.7.36 - 1.1.10.4 + 1.1.10.5 3.16.1 0.13.0 @@ -116,11 +115,6 @@ commons-logging ${commonslogging.version} - - io.airlift - aircompressor - ${aircompressor.version} - io.netty netty-buffer @@ -349,13 +343,13 @@ net.bytebuddy byte-buddy - 1.10.19 + 1.14.9 test net.bytebuddy byte-buddy-agent - 1.10.19 + 1.14.9 test @@ -432,10 +426,6 @@ commons-codec commons-codec - - io.airlift - aircompressor - @@ -492,6 +482,13 @@ org.apache.parquet parquet-common + + + + javax.annotation + javax.annotation-api + + org.apache.parquet @@ -513,7 +510,7 @@ com.github.luben zstd-jni - 1.5.0-1 + 1.5.6-2 runtime @@ -755,11 +752,10 @@ true + to workaround https://issues.apache.org/jira/browse/MNG-7982. Now the dependency analyzer complains that + the dependency is unused, so we ignore it here--> org.apache.commons:commons-compress org.apache.commons:commons-configuration2 - io.airlift:aircompressor @@ -852,9 +848,9 @@ failFast + The list of allowed licenses. If you see the build failing due to "There are some forbidden licenses used, please + check your dependencies", verify the conditions of the license and add the reference to it here. + --> Apache License 2.0 BSD 2-Clause License @@ -1166,9 +1162,9 @@ + Plugin executes license processing Python script, which copies third party license files into the directory + target/generated-licenses-info/META-INF/third-party-licenses, which is then included in the shaded JAR. + --> org.codehaus.mojo exec-maven-plugin diff --git a/scripts/process_licenses.py b/scripts/process_licenses.py index bb43fbbf0..4a0377a8e 100644 --- a/scripts/process_licenses.py +++ b/scripts/process_licenses.py @@ -132,18 +132,22 @@ def main(): dependency_without_license_count += 1 missing_licenses_str += f"{dependency_lookup_key}: {license_name}\n" else: - raise Exception(f"The dependency {dependency_lookup_key} does not ship a license file, but neither is it not defined in ADDITIONAL_LICENSES_MAP") + raise Exception( + f"The dependency {dependency_lookup_key} does not ship a license file, but neither is it not " + f"defined in ADDITIONAL_LICENSES_MAP") with open(Path(target_dir, "ADDITIONAL_LICENCES"), "w") as additional_licenses_handle: additional_licenses_handle.write(missing_licenses_str) if dependency_count < 30: - raise Exception(f"Suspiciously low number of dependency JARs detected in {dependency_jars_path}: {dependency_count}") + raise Exception( + f"Suspiciously low number of dependency JARs detected in {dependency_jars_path}: {dependency_count}") print("License generation finished") print(f"\tTotal dependencies: {dependency_count}") print(f"\tTotal dependencies (with license): {dependency_with_license_count}") print(f"\tTotal dependencies (without license): {dependency_without_license_count}") print(f"\tIgnored dependencies: {dependency_ignored_count}") + if __name__ == "__main__": main()