kou commented on PR #15267:
URL: https://github.com/apache/arrow/pull/15267#issuecomment-1375552927

   Could you also update `ci/scripts/java_full_build.sh`, 
`dev/tasks/java-jars/github.yml` and `dev/tasks/tasks.yml` (the following diff 
is incomplete for this file) like the following to publish them?
   
   ```diff
   diff --git a/ci/scripts/java_full_build.sh b/ci/scripts/java_full_build.sh
   index 1c07971bcc..2734f3e9db 100755
   --- a/ci/scripts/java_full_build.sh
   +++ b/ci/scripts/java_full_build.sh
   @@ -65,7 +65,13 @@ find . \
         -exec echo {} ";" \
         -exec cp {} $dist_dir ";"
    find ~/.m2/repository/org/apache/arrow \
   -     "(" -name "*.jar" -o -name "*.zip" -o -name "*.pom" ")" \
   +     "(" \
   +     -name "*.jar" -o \
   +     -name "*.json" -o \
   +     -name "*.pom" -o \
   +     -name "*.xml" -o \
   +     -name "*.zip" \
   +     ")" \
         -exec echo {} ";" \
         -exec cp {} $dist_dir ";"
    
   diff --git a/dev/tasks/java-jars/github.yml b/dev/tasks/java-jars/github.yml
   index cfa1dbed49..c42c9e6f4d 100644
   --- a/dev/tasks/java-jars/github.yml
   +++ b/dev/tasks/java-jars/github.yml
   @@ -204,5 +204,7 @@ jobs:
                $GITHUB_WORKSPACE/arrow \
                $GITHUB_WORKSPACE/arrow/java-dist
          {{ macros.github_upload_releases(["arrow/java-dist/*.jar",
   +                                        "arrow/java-dist/*.pson",
                                            "arrow/java-dist/*.pom",
   +                                        "arrow/java-dist/*.xml",
                                            "arrow/java-dist/*.zip"])|indent }}
   diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
   index 66df61e215..8437ad0778 100644
   --- a/dev/tasks/tasks.yml
   +++ b/dev/tasks/tasks.yml
   @@ -801,6 +801,9 @@ tasks:
        ci: github
        template: java-jars/github.yml
        artifacts:
   +      - arrow-algorithm-{no_rc_snapshot_version}-cyclonedx.json
   +      - arrow-algorithm-{no_rc_snapshot_version}-cyclonedx.xml
   +      - arrow-algorithm-{no_rc_snapshot_version}-javadoc.jar
          - arrow-algorithm-{no_rc_snapshot_version}-javadoc.jar
          - arrow-algorithm-{no_rc_snapshot_version}-sources.jar
          - arrow-algorithm-{no_rc_snapshot_version}-tests.jar
   # NOTE!!! We need to add more entries for *-cyclonedx.{json,xml}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to