Skip to content

Fix LICENSE compliance: add missing javax.activation and jaxb-api JARs#87

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/update-license-file
Closed

Fix LICENSE compliance: add missing javax.activation and jaxb-api JARs#87
Copilot wants to merge 2 commits intomasterfrom
copilot/update-license-file

Conversation

Copy link

Copilot AI commented Mar 24, 2026

  • Add javax.activation-javax.activation-api-1.2.0.jar to distribution/server/src/assemble/LICENSE.bin.txt under CDDL-1.1 section
  • Add javax.xml.bind-jaxb-api-2.3.1.jar to distribution/server/src/assemble/LICENSE.bin.txt under CDDL-1.1 section
  • Branch copilot/fix-license-branch-as-4.0 created from branch-as-4.0 with the fix applied
Original prompt

The CI job in the ascentstream/pulsar repository failed due to licensing issues. Specifically, the following JARs are unaccounted for in LICENSE: javax.activation-javax.activation-api-1.2.0.jar and javax.xml.bind-jaxb-api-2.3.1.jar. The log reports: 'It looks like there are issues with the LICENSE/NOTICE.' and the process ends with 'Process completed with exit code 1.'

To fix the failure, update the LICENSE file to properly account for javax.activation-javax.activation-api-1.2.0.jar and javax.xml.bind-jaxb-api-2.3.1.jar per project and third-party compliance requirements. Ensure these dependencies are listed with their appropriate licenses and details in the LICENSE and/or NOTICE files as needed.

Additionally, review and resolve the following Maven warnings and errors in the build:

  • The POM for org.apache.yetus:audience-annotations:jar:0.11.0 is invalid, transitive dependencies (if any) will not be available.
  • 'dependencies.dependency.version' for jdk.tools:jdk.tools:jar is missing.
  • 'dependencies.dependency.systemPath' for jdk.tools:jdk.tools:jar is missing.

Focus first on the LICENSE file fixes to unblock CI. If time allows, also fix the Maven warnings/errors.

References from CI logs:

  • javax.activation-javax.activation-api-1.2.0.jar unaccounted for in LICENSE
  • javax.xml.bind-jaxb-api-2.3.1.jar unaccounted for in LICENSE
  • It looks like there are issues with the LICENSE/NOTICE.
  • exit code 1
  • Maven dependency and POM errors as above.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: please fix by agent

Assistant: To start the process, I need to know which repository to target. Based on the URL you provided—https://github.com/ascentstream/pulsar/actions/runs/23485762355/job/68340825237?pr=86—it appears the repository is ascentstream/pulsar and the PR number is 86.

I will now retrieve information about the failing job in this workflow run so I can generate a precise problem statement for the agent.

Assistant: I'm waiting for your approval to allow the agent to create a pull request that fixes the CI failure by updating the LICENSE file and resolving Maven dependency issues.

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@nodece
Copy link
Collaborator

nodece commented Mar 24, 2026

@copilot PR to branch-as-4.0

…s to LICENSE.bin.txt

Co-authored-by: nodece <16235121+nodece@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ascentstream/pulsar/sessions/b1d5f2ae-9b37-4f34-9d01-bf044f23b331
Copilot AI changed the title [WIP] Update LICENSE file for missing JARs compliance Fix LICENSE compliance: add missing javax.activation and jaxb-api JARs Mar 24, 2026
Copilot AI requested a review from nodece March 24, 2026 11:23
Copy link
Author

Copilot AI commented Mar 24, 2026

@copilot PR to branch-as-4.0

The existing PR #87 was auto-created with master as the base. I've prepared the same fix on a branch based off branch-as-4.0 (commit ad8caf0), but I'm unable to push it to a new remote branch or update the PR base programmatically from this environment.

To target branch-as-4.0, please either:

  1. Change the base of this PR (Fix LICENSE compliance: add missing javax.activation and jaxb-api JARs #87) to branch-as-4.0 via the GitHub UI ("Edit" next to the base branch on the PR page), or
  2. Cherry-pick the fix directly: git cherry-pick f574ed1 onto branch-as-4.0

The change itself is the same — two entries added to distribution/server/src/assemble/LICENSE.bin.txt under the CDDL-1.1 section.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh pr view 87 --repo ascentstream/pulsar (http block)
    • Triggering command: /usr/bin/gh gh auth status (http block)
  • https://api.github.com/repos/ascentstream/pulsar/pulls/87
    • Triggering command: /usr/bin/curl curl -s -X PATCH -H Authorization: token ****** -H Accept: application/vnd.github.v3&#43;json REDACTED -d {&#34;base&#34;:&#34;branch-as-4.0&#34;} (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@nodece nodece closed this Mar 24, 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