Repository navigation
chore(license): switch to DISCLAIMER-WIP and add ASF licensing files to JARs and Docker images - #4288
Merged
Conversation
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]>
Task {} macro requires sbt 1.10+. Use Def.task {}.taskValue instead.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
Author
|
Dear @pjfanning , can you please review this PR? |
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. |
Contributor
Author
Make sense. I updated the PR description |
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]>
This was referenced May 4, 2026
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
DISCLAIMERtoDISCLAIMER-WIPusing the ASF-required template from the incubation policy, listing the incomplete dependency license audit as a known issue.LICENSE,NOTICE, andDISCLAIMER-WIPto every Texera JAR'sMETA-INF/directory via an sbtresourceGeneratorstask that dynamically copies them from the repo root at build time.COPYinstructions in all 8 Dockerfiles to includeLICENSE,NOTICE, andDISCLAIMER-WIPat/texera/in every Docker image.Any related issues, documentation, discussions?
A workaround based on #4131
How was this PR tested?
DISCLAIMER-WIPcontent follows the ASF incubation policy template.resourceGeneratorssetting 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)