From 6b32b6d5ad5c4a519111086277f231b654c96056 Mon Sep 17 00:00:00 2001 From: david dali susanibar arce Date: Tue, 2 Jan 2024 10:20:25 -0500 Subject: [PATCH] GH-39327: [Java] define assemble descriptor for new custom maven plugin project (#39331) ### Rationale for this change To closes https://github.com/apache/arrow/issues/39327 ### What changes are included in this PR? GitHub CI validation needs to [run](https://github.com/apache/arrow/blob/main/ci/scripts/java_full_build.sh#L52) `assembly:single` for that reason is needed to setup a descriptor ref. In the case of this maven plugin, I only propose to include "src" as part of the resources. ### Are these changes tested? Yes, by ```` mvn clean \ install \ assembly:single \ source:jar \ javadoc:jar \ -Papache-release \ -DdescriptorId=source-release ```` ### Are there any user-facing changes? No. * Closes: #39327 Lead-authored-by: david dali susanibar arce Co-authored-by: Sutou Kouhei Signed-off-by: David Li --- java/maven/pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/java/maven/pom.xml b/java/maven/pom.xml index 86ac402732bc4..0923984c8e5e5 100644 --- a/java/maven/pom.xml +++ b/java/maven/pom.xml @@ -281,6 +281,27 @@ + + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + + + src + + +