From 7d542e4287d43e241743de963f9d93a90906624d Mon Sep 17 00:00:00 2001 From: Laurent Goujon Date: Mon, 15 Jul 2024 20:39:32 +0200 Subject: [PATCH] GH-43217: [Java] Remove flight-core shaded jars (#43224) ### Rationale for this change Remove extra jars generated by `flight-core` modules: - they do not seem to be used by the project internally and does not seem to satisfy some external purpose as well - they are not compatible with JPMS ### Are these changes tested? CI/CD ### Are there any user-facing changes? Several extras jars attached to `org.apache.arrow:flight-core` artifact will stop being published to Apache Maven Repository/Maven Central. * GitHub Issue: #43217 Authored-by: Laurent Goujon Signed-off-by: Dane Pitkin --- dev/tasks/tasks.yml | 3 -- java/flight/flight-core/pom.xml | 82 --------------------------------- 2 files changed, 85 deletions(-) diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml index 45417acf856b5..9c7d1ff3bbe12 100644 --- a/dev/tasks/tasks.yml +++ b/dev/tasks/tasks.yml @@ -810,10 +810,7 @@ tasks: - arrow-vector-{no_rc_snapshot_version}.pom - flight-core-{no_rc_snapshot_version}-cyclonedx.json - flight-core-{no_rc_snapshot_version}-cyclonedx.xml - - flight-core-{no_rc_snapshot_version}-jar-with-dependencies.jar - flight-core-{no_rc_snapshot_version}-javadoc.jar - - flight-core-{no_rc_snapshot_version}-shaded-ext.jar - - flight-core-{no_rc_snapshot_version}-shaded.jar - flight-core-{no_rc_snapshot_version}-sources.jar - flight-core-{no_rc_snapshot_version}-tests.jar - flight-core-{no_rc_snapshot_version}.jar diff --git a/java/flight/flight-core/pom.xml b/java/flight/flight-core/pom.xml index 5f82de2724b1d..3e0f4f8ce1b7d 100644 --- a/java/flight/flight-core/pom.xml +++ b/java/flight/flight-core/pom.xml @@ -155,71 +155,6 @@ under the License. - - org.apache.maven.plugins - maven-shade-plugin - - - shade-main - - shade - - package - - false - true - shaded - - - io.grpc:* - com.google.protobuf:* - - - - - com.google.protobuf - arrow.flight.com.google.protobuf - - - - - - - - - shade-ext - - shade - - package - - false - true - shaded-ext - - - io.grpc:* - com.google.protobuf:* - com.google.guava:* - - - - - com.google.protobuf - arrow.flight.com.google.protobuf - - - com.google.common - arrow.flight.com.google.common - - - - - - - - - org.xolstice.maven.plugins protobuf-maven-plugin @@ -261,23 +196,6 @@ under the License. - - maven-assembly-plugin - - - jar-with-dependencies - - - - - make-assembly - - single - - package - - -