Skip to content

fix: correct release license inventories and exclude bundled CI actions - #8159

Merged
Aias00 merged 6 commits into
apache:masterfrom
yuluo-yx:master
Oct 28, 2026
Merged

Aias00 merged 6 commits into
apache:masterfrom
yuluo-yx:master

Conversation

@yuluo-yx

@yuluo-yx yuluo-yx commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

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 ./mvnw downloads 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:

  • Both source archives built successfully; archive inspection confirmed actions/ and build output are absent and LICENSE, NOTICE, and pom.xml are retained.
  • Root ./mvnw -B -N -Papache-release verify -Dgpg.skip=true passed on the release branch and updated master, including Checkstyle and RAT.
  • Effective POM inspection confirmed the inherited package/single execution uses only the custom assembly descriptor.
  • Archive inspection found no JAR, CLASS, WAR, or nested distribution archives. The existing 24 WASM test fixtures and their source/build instructions are retained.
  • Runtime code is unchanged. Candidate regeneration and signing are handled separately by the release process.

Aias00
Aias00 previously approved these changes Oct 28, 2026

@Aias00 Aias00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Aias00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Aias00
Aias00 merged commit 79d827c into apache:master Oct 28, 2026
54 of 81 checks passed
@Aias00 Aias00 added this to the 2.7.2 milestone Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants