Repository navigation
fix: correct release license inventories and exclude bundled CI actions - #8159
Conversation
Aias00
left a comment
There was a problem hiding this comment.
Reviewed the source-assembly override, exclusions and license-inventory edits at 25fc0f0. No blocking finding in this change.
Built both source distributions locally with ./mvnw: the root -N -Papache-release verify -Dgpg.skip=true passed including Checkstyle and RAT, and the shenyu-src-dist -Prelease package passed. Inspected the actual ZIPs: bundled actions/, target directories and JAR/CLASS/WAR/nested distribution archives are absent, while LICENSE, NOTICE, pom.xml and Maven wrapper scripts/properties remain. The effective POM contains one source-release-assembly execution using script/source-release.xml, with the inherited package/single binding preserved. The paths-filter MIT license is restored in the source tree.
This validates the changed packaging behavior and inventory corrections; it does not constitute a complete binary dependency/legal audit, release candidate validation or signing. Runtime code is unchanged.
Aias00
left a comment
There was a problem hiding this comment.
Revalidated after merging current master and reconciling the two root POM profiles introduced by #7665 and this PR. The automatic combined tree would contain duplicate elements; the new merge commit retains one profiles element with both minimal-http and apache-release, preserving each profile's original behavior.
Validation: ./mvnw -N -Papache-release verify -Dgpg.skip=true passed with Checkstyle/RAT; the 35-module -Pminimal-http,apache-release -pl shenyu-bootstrap-http -am validate passed. The generated source ZIP contains the newly merged minimal HTTP sources, descriptors and workflow, retains LICENSE/NOTICE/wrapper scripts, and excludes actions/, the downloaded wrapper JAR and build output. The effective minimal-HTTP POM retains separate http-bin and source-release-assembly executions; runOnlyAtExecutionRoot is scoped to the latter.
This approval covers the updated integration commit and the previously reviewed packaging delta. Required current-head CI must pass before merging.
The 2.7.2 release audit found that both source distributions included the bundled GitHub Actions paths-filter JavaScript, while the source LICENSE did not describe that CI tooling. Exclude
actions/from both the SVN source distribution and the parent-provided Maven source-release assembly, and restore the upstream MIT license in the repository. Also exclude the Maven Wrapper bootstrap JAR that./mvnwdownloads locally; the wrapper downloads it again when needed. The custom assembly preserves the Apache parent descriptor's other exclusions and generated license resources.Also carry forward the release audit's admin and bootstrap dependency license inventory corrections, including the missing JCTools entry and resolved dependency versions.
Validation:
actions/and build output are absent and LICENSE, NOTICE, and pom.xml are retained../mvnw -B -N -Papache-release verify -Dgpg.skip=truepassed on the release branch and updated master, including Checkstyle and RAT.