-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][Java][Release] java-jars is failing on maintenance branch because arrow-bom is not found on https://repository.apache.org/snapshots #39564
Comments
BTW the failed job is this one: https://github.com/ursacomputing/crossbow/actions/runs/7477878909/job/20378915619 |
Hmm. It seems that |
I can't seem to find any occurrence on our repo about |
Why is it setting the version to 14.0.1-SNAPSHOT? (Not that that's related...) It seems that after |
The build seems OK if I fix all versions in |
However, I can't get |
Oh, actually, this seems to work
The latter two commands will print an error but seem to pass and update the versions properly. |
So I think this would work: diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml
index fbce12ee4..7ee68e77e 100644
--- a/dev/tasks/java-jars/github.yml
+++ b/dev/tasks/java-jars/github.yml
@@ -236,6 +236,8 @@ jobs:
set -e
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 \ |
### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: #39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: #39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
) ### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: apache#39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
) ### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: apache#39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
) ### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: apache#39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
) ### Rationale for this change The version set currently on the maintenance branch is incorrect for Java BOM. ### What changes are included in this PR? Suggested changes to set specifically version for BOM and maven. ### Are these changes tested? I will trigger java-jars via archery but I think this is currently only reproducible on the maintenance branch. So we will have to merge and validate there. ### Are there any user-facing changes? No * Closes: apache#39564 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
There seems to be an issue building java-jars on the maintenance branch because
org.apache.arrow:arrow-bom:pom:14.0.1-SNAPSHOT
cannot be found on apache.snapshots (https://repository.apache.org/snapshots)Component(s)
Continuous Integration, Java
The text was updated successfully, but these errors were encountered: