This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new c980ebfeac GH-43432: [Java][Packaging] Clean up java-jars job (#43431)
c980ebfeac is described below
commit c980ebfeac2aa53fe95741c61184212b0636cfc8
Author: Dane Pitkin <[email protected]>
AuthorDate: Mon Jul 29 01:29:21 2024 -0400
GH-43432: [Java][Packaging] Clean up java-jars job (#43431)
### Rationale for this change
1) Remove maven module references
2) Fix warning in java-jars job:
```
Warning: Some problems were encountered while building the effective model
for org.apache.arrow:arrow-bom:pom:18.0.0-SNAPSHOT
Warning: 'parent.relativePath' of POM
org.apache.arrow:arrow-bom:18.0.0-SNAPSHOT
(/Users/runner/work/crossbow/crossbow/arrow/java/bom/pom.xml) points at
org.apache.arrow:arrow-java-root instead of org.apache:apache, please verify
your project structure @ line 23, column 11
Warning:
Warning: It is highly recommended to fix these problems because they
threaten the stability of your build.
Warning:
Warning: For this reason, future Maven versions might no longer support
building such malformed projects.
```
### What changes are included in this PR?
* Delete `mvn versions:set` for removed maven module
* Add empty relativePath to Arrow BOM, so it doesn't use arrow-java-root
### Are these changes tested?
java-jars CI job
### Are there any user-facing changes?
No
* GitHub Issue: #43432
Authored-by: Dane Pitkin <[email protected]>
Signed-off-by: David Li <[email protected]>
---
dev/tasks/java-jars/github.yml | 1 -
java/bom/pom.xml | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml
index 3747788c09..58c1cedb11 100644
--- a/dev/tasks/java-jars/github.yml
+++ b/dev/tasks/java-jars/github.yml
@@ -255,7 +255,6 @@ jobs:
pushd arrow/java
mvn versions:set -DnewVersion={{ arrow.no_rc_snapshot_version }}
mvn versions:set -DnewVersion={{ arrow.no_rc_snapshot_version }} -f
bom
- mvn versions:set -DnewVersion={{ arrow.no_rc_snapshot_version }} -f
maven
popd
arrow/ci/scripts/java_full_build.sh \
$GITHUB_WORKSPACE/arrow \
diff --git a/java/bom/pom.xml b/java/bom/pom.xml
index fe32641021..1f8585c801 100644
--- a/java/bom/pom.xml
+++ b/java/bom/pom.xml
@@ -24,6 +24,7 @@ under the License.
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>33</version>
+ <relativePath></relativePath>
</parent>
<groupId>org.apache.arrow</groupId>