Skip to content

GCP: Backport License/Notice fix from #16182 to 1.10.x, excluding woodstox/gcs-analytics and JSR#16244

Merged
amogh-jahagirdar merged 3 commits intoapache:1.10.xfrom
amogh-jahagirdar:backport-gcp-license-fixes
May 7, 2026
Merged

GCP: Backport License/Notice fix from #16182 to 1.10.x, excluding woodstox/gcs-analytics and JSR#16244
amogh-jahagirdar merged 3 commits intoapache:1.10.xfrom
amogh-jahagirdar:backport-gcp-license-fixes

Conversation

@amogh-jahagirdar
Copy link
Copy Markdown
Contributor

This change does two things:

  1. Copied over the License/Notice for the azure bundle as of Azure: Fix LICENSE, NOTICE, and runtime-deps for azure-bundle #16181 via
git checkout e4028bf6a012691933441387a893eb921a780438 -- gcp-bundle/LICENSE gcp-bundle/NOTICE
  1. After generating runtime deps https://gist.github.com/amogh-jahagirdar/fc7e2caf02cd343706d6671f5e3721d4
    compared with main's runtime-deps and saw the following differences.

a.) Main bundles gcs analytics while 1.10 does not
b.) Main bundles woodstox while 1.10 does not
c.) Main does not bundle JSR while 1.10 does. For this since there's LGPL concerns with JSR and it's only needed at compile time, I just went ahead and excluded it.

I went back and excluded the license entries for gcs analytics/woodstox.

kevinjqliu and others added 2 commits May 7, 2026 10:18
… exclude jsr305 due to LGPL concerns, exclude Slf4j through the same mechanism (it was already excluded)

Co-authored-by: Ryan Blue <blue@apache.org>
Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
Comment thread gcp-bundle/build.gradle

configurations {
implementation {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Normally, I wouldn't do this in a patch release but I think there's a real concern with jsr305 and LGPL licnesing. Considering it's compile time only, I just excluded it along with sl4j (but slf4j was already excluded through a different mechanism)

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.

nice! agreed, this is a backport of #16106

…RELAX NG Datatype API (all bundled by Woodstox)

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM!

The gcp-bundle/build.gradle changes is a backport of #16106
Verified NOTICE file

Verified LICENSE file, i diff the runtime-deps.txt between this PR and main. Heres the summary:
Removed

  • org.jspecify:jspecify
  • org.codehaus.woodstox:stax2-api
  • com.fasterxml.woodstox:woodstox-core
  • org.apache.commons:commons-lang3
  • com.google.cloud.gcs.analytics:gcs-analytics-core
  • com.google.cloud.gcs.analytics:client
  • com.fasterxml.jackson.dataformat:jackson-dataformat-xml
    Added
  • com.google.auto.value:auto-value

Push a new commit (2a6b556) to remove these from LICENSE, to align with the above changes

  • JSpecify
  • Stax2
  • Apache Commons Lang
  • MSV xsdlib / isorelax / … …RELAX NG Datatype API (all bundled by Woodstox). Note that woodstox was removed in this commit (4a6a3ba)
  • GCS Analytics was also removed in this commit (4a6a3ba)
  • jackson-dataformat-xml remove doesnt need any change, it was covered by the "Jackson JSON Processor" LICENSE

auto-value added is already part of the LICENSE

@amogh-jahagirdar amogh-jahagirdar merged commit 5a81ad6 into apache:1.10.x May 7, 2026
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants