Skip to content

chore(license): switch to DISCLAIMER-WIP and add ASF licensing files to JARs and Docker images - #4288

Merged
bobbai00 merged 6 commits into
apache:mainfrom
bobbai00:fix/jar-licensing-disclaimer-wip
Mar 13, 2026
Merged

bobbai00 merged 6 commits into
apache:mainfrom
bobbai00:fix/jar-licensing-disclaimer-wip

Conversation

@bobbai00

@bobbai00 bobbai00 commented Mar 12, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

  • Renamed DISCLAIMER to DISCLAIMER-WIP using the ASF-required template from the incubation policy, listing the incomplete dependency license audit as a known issue.
  • Added LICENSE, NOTICE, and DISCLAIMER-WIP to every Texera JAR's META-INF/ directory via an sbt resourceGenerators task that dynamically copies them from the repo root at build time.
  • Added COPY instructions in all 8 Dockerfiles to include LICENSE, NOTICE, and DISCLAIMER-WIP at /texera/ in every Docker image.

Any related issues, documentation, discussions?

A workaround based on #4131

How was this PR tested?

  • Verified DISCLAIMER-WIP content follows the ASF incubation policy template.
  • Verified sbt resourceGenerators setting compiles and is applied to all subprojects.

Was this PR authored or co-authored using generative AI tooling?

Co-created with: Claude Code (Claude Opus 4.6)

bobbai00 and others added 3 commits March 12, 2026 15:32
Instead of hard-copying LICENSE/NOTICE/DISCLAIMER-WIP into each
service's src/main/resources/META-INF/, use sbt resourceGenerators
to copy them from the repo root at build time.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file fix infra labels Mar 12, 2026
bobbai00 and others added 2 commits March 12, 2026 16:31
Task {} macro requires sbt 1.10+. Use Def.task {}.taskValue instead.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@bobbai00
bobbai00 requested a review from pjfanning March 13, 2026 00:45
@bobbai00 bobbai00 self-assigned this Mar 13, 2026
@bobbai00 bobbai00 changed the title chore(legal): switch to DISCLAIMER-WIP and add ASF licensing files to JARs and Docker images chore(license): switch to DISCLAIMER-WIP and add ASF licensing files to JARs and Docker images Mar 13, 2026
@bobbai00

Copy link
Copy Markdown
Contributor Author

Dear @pjfanning , can you please review this PR?

@Yicong-Huang

Copy link
Copy Markdown
Contributor

In my understanding, this is a temporary workaround to unblock a release, and we have to eventually finish the original task. So I don't think this PR should close the issue #4131. If we do choose this solution and closes #4131, then we have to open another issue so that we don't forget about this in the future.

@bobbai00

Copy link
Copy Markdown
Contributor Author

In my understanding, this is a temporary workaround to unblock a release, and we have to eventually finish the original task. So I don't think this PR should close the issue #4131. If we do choose this solution and closes #4131, then we have to open another issue so that we don't forget about this in the future.

Make sense. I updated the PR description

@pjfanning pjfanning left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@bobbai00
bobbai00 merged commit 47bb2e4 into apache:main Mar 13, 2026
11 checks passed
ELin2025 pushed a commit to ELin2025/texera that referenced this pull request Apr 13, 2026
…to JARs and Docker images (apache#4288)

### What changes were proposed in this PR?

- Renamed `DISCLAIMER` to `DISCLAIMER-WIP` using the ASF-required
template from the [incubation
policy](https://incubator.apache.org/policy/incubation.html#disclaimers),
listing the incomplete dependency license audit as a known issue.
- Added `LICENSE`, `NOTICE`, and `DISCLAIMER-WIP` to every Texera JAR's
`META-INF/` directory via an sbt `resourceGenerators` task that
dynamically copies them from the repo root at build time.
- Added `COPY` instructions in all 8 Dockerfiles to include `LICENSE`,
`NOTICE`, and `DISCLAIMER-WIP` at `/texera/` in every Docker image.

### Any related issues, documentation, discussions?

A workaround based on apache#4131

### How was this PR tested?

- Verified `DISCLAIMER-WIP` content follows the ASF incubation policy
template.
- Verified sbt `resourceGenerators` setting compiles and is applied to
all subprojects.

### Was this PR authored or co-authored using generative AI tooling?

Co-created with: Claude Code (Claude Opus 4.6)

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Chen Li <[email protected]>
bobbai00 added a commit that referenced this pull request May 4, 2026
…4927)

### What changes were proposed in this PR?

Drop the non-canonical second paragraph (licensing-review caveat +
incubator status URL) from `DISCLAIMER` and its verbatim copy at
`bin/single-node/DISCLAIMER`. Only the first paragraph is part of the
standard ASF Incubator disclaimer template. The trimmed file flows
automatically into JAR `META-INF/` entries and all Docker images via
existing sbt + Dockerfile copy steps — no other code changes needed.

Follow-up to the disclaimer/licensing cleanup in
47bb2e4 / #4288 (and rename in #4555),
which left this section untrimmed.

### Any related issues, documentation, discussions?

Closes #4926. Related: #4288, #4555.

### How was this PR tested?

Text-only change to release artifacts metadata.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7)
Yicong-Huang pushed a commit that referenced this pull request May 4, 2026
…4927)

### What changes were proposed in this PR?

Drop the non-canonical second paragraph (licensing-review caveat +
incubator status URL) from `DISCLAIMER` and its verbatim copy at
`bin/single-node/DISCLAIMER`. Only the first paragraph is part of the
standard ASF Incubator disclaimer template. The trimmed file flows
automatically into JAR `META-INF/` entries and all Docker images via
existing sbt + Dockerfile copy steps — no other code changes needed.

Follow-up to the disclaimer/licensing cleanup in
47bb2e4 / #4288 (and rename in #4555),
which left this section untrimmed.

### Any related issues, documentation, discussions?

Closes #4926. Related: #4288, #4555.

### How was this PR tested?

Text-only change to release artifacts metadata.

### Was this PR authored or co-authored using generative AI tooling?

(backported from commit 265e0f8)

Generated-by: Claude Code (Opus 4.7)
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
…to JARs and Docker images (apache#4288)

### What changes were proposed in this PR?

- Renamed `DISCLAIMER` to `DISCLAIMER-WIP` using the ASF-required
template from the [incubation
policy](https://incubator.apache.org/policy/incubation.html#disclaimers),
listing the incomplete dependency license audit as a known issue.
- Added `LICENSE`, `NOTICE`, and `DISCLAIMER-WIP` to every Texera JAR's
`META-INF/` directory via an sbt `resourceGenerators` task that
dynamically copies them from the repo root at build time.
- Added `COPY` instructions in all 8 Dockerfiles to include `LICENSE`,
`NOTICE`, and `DISCLAIMER-WIP` at `/texera/` in every Docker image.

### Any related issues, documentation, discussions?

A workaround based on apache#4131

### How was this PR tested?

- Verified `DISCLAIMER-WIP` content follows the ASF incubation policy
template.
- Verified sbt `resourceGenerators` setting compiles and is applied to
all subprojects.

### Was this PR authored or co-authored using generative AI tooling?

Co-created with: Claude Code (Claude Opus 4.6)

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Chen Li <[email protected]>
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…to JARs and Docker images (apache#4288)

### What changes were proposed in this PR?

- Renamed `DISCLAIMER` to `DISCLAIMER-WIP` using the ASF-required
template from the [incubation
policy](https://incubator.apache.org/policy/incubation.html#disclaimers),
listing the incomplete dependency license audit as a known issue.
- Added `LICENSE`, `NOTICE`, and `DISCLAIMER-WIP` to every Texera JAR's
`META-INF/` directory via an sbt `resourceGenerators` task that
dynamically copies them from the repo root at build time.
- Added `COPY` instructions in all 8 Dockerfiles to include `LICENSE`,
`NOTICE`, and `DISCLAIMER-WIP` at `/texera/` in every Docker image.

### Any related issues, documentation, discussions?

A workaround based on apache#4131

### How was this PR tested?

- Verified `DISCLAIMER-WIP` content follows the ASF incubation policy
template.
- Verified sbt `resourceGenerators` setting compiles and is applied to
all subprojects.

### Was this PR authored or co-authored using generative AI tooling?

Co-created with: Claude Code (Claude Opus 4.6)

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Chen Li <[email protected]>
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
…pache#4927)

### What changes were proposed in this PR?

Drop the non-canonical second paragraph (licensing-review caveat +
incubator status URL) from `DISCLAIMER` and its verbatim copy at
`bin/single-node/DISCLAIMER`. Only the first paragraph is part of the
standard ASF Incubator disclaimer template. The trimmed file flows
automatically into JAR `META-INF/` entries and all Docker images via
existing sbt + Dockerfile copy steps — no other code changes needed.

Follow-up to the disclaimer/licensing cleanup in
47bb2e4 / apache#4288 (and rename in apache#4555),
which left this section untrimmed.

### Any related issues, documentation, discussions?

Closes apache#4926. Related: apache#4288, apache#4555.

### How was this PR tested?

Text-only change to release artifacts metadata.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file fix infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants