Info |
---|
It is NOT necessary necessary to run all checks to cast a vote for a release candidate. However, you should clearly state which checks you did when casting a vote. The release manager needs to ensure that each following check was done. |
Legal Verifications
Checking Artifacts
Some of these are strictly required for a release to be ASF compliant.
- (required) Verify that the checksums and GPG files match the corresponding release files, for:
- All artifacts to be released to Maven in the staging Apache Nexus Repository
Java/Scala source distributions staged A detailed description on how this is done can be found in https://distwww.apache.org/repos/dist/dev/flinkinfo/verification.html
- All artifacts to be released to Maven in the staging Apache Nexus Repository
- (required) Verify that the source distributions do not contain any binaries
- (required) Build the source distribution to ensure all source files have Apache headers
- Run "mvn clean install -DskipTests" in the maven source distribution.
- (required) Verify that all POM files point to the same version.
- Check that the README.md file does not have anything unexpected.
Checking Licenses
These checks are strictly required for a release to be ASF compliant.
...
A detailed explanation on the steps above is in Licensing.
Testing Functionality
This is not necessarily required for a release to be ASF compliant, but required to ensure a high quality release.
This is not an exhaustive list - it is mainly a suggestion where to start testing.
Built-in tests
Check if the source release is building properly with Maven, including checkstyle and all tests
- Command: mvn clean verify
Build for Java 8 and Scala 2.12
Testing Against Staged Maven Artifacts
Create a settings.xml file with these contents:
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<settings> <activeProfiles> <activeProfile>flink<activeProfile>paimon-table-store-${TABLE_STOREPAIMON_VERSION}</activeProfile> </activeProfiles> <profiles> <profile> <id>flink-table-store<id>paimon-${TABLE_STOREPAIMON_VERSION}</id> <repositories> <repository> <id>flink-table-store<id>paimon-${TABLE_STOREPAIMON_VERSION}</id> <url>https://repository.apache.org/content/repositories/orgapacheflinkorgapachepaimon-${STAGED_REPO_ID}/</url> </repository> <repository> <id>archetype</id> <url>https://repository.apache.org/content/repositories/orgapacheflinkorgapachepaimon-${STAGED_REPO_ID}/</url> </repository> </repositories> </profile> </profiles> </settings> |
...