[Release][Java] Verify staged maven artifacts
- Dominant language
- Java
- Stars
- 94
- Forks
- 152
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 11
Description
We have two tests right now:
1. Execute `mvn test` from the source tarball's java directory testing the source https://github.com/apache/arrow/blob/master/dev/release/verify-release-candidate.sh#L278
2. Verify the checksums and signatures of the uploaded maven artifacts https://github.com/apache/arrow/blob/master/dev/release/verify-release-candidate.sh#L766
But we don't actually **test** the packages. We should add that to the verification scripts, since 7.0 is going to be the first release shipping the jars with bundled JNI libraries.
cc @kou @anthonylouisbsb
**Reporter**: [Krisztian Szucs](https://issues.apache.org/jira/browse/ARROW-15486) / @kszucs
#### Related issues:
- [[Release][Java] Add missing files to list of artifacts to deploy](https://github.com/apache/arrow/issues/31193) (relates to)
#### Original Issue Attachments:
- [image-2022-02-18-07-07-45-928.png](https://issues.apache.org/jira/secure/attachment/13040235/image-2022-02-18-07-07-45-928.png)
#### PRs and other links:
- [GitHub Pull Request apache/arrow#148](https://github.com/apache/arrow-cookbook/pull/148)
**Note**: *This issue was originally created as [ARROW-15486](https://issues.apache.org/jira/browse/ARROW-15486). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Research direction
Start with dev/release/verify-release-candidate.sh, especially the existing source-tarball Java test and Maven artifact verification steps. Review how `mvn test` is run from the source tarball's Java directory and how checksums and signatures are checked. Done means the verification scripts also test the Maven packages, including jars with bundled JNI libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- release, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100