Skip to content

Fail with a clear error when a classpath license repository is missing - #802

Merged
slachiewicz merged 1 commit into
masterfrom
agent/classpath-resolver-error
Nov 8, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/classpath-resolver-error

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

A classpath:// entry in licenseResolver whose resource is not on the plugin classpath resolved to a null URL and failed later with an unrelated error. LicenseStore.addRepository now fails at once, naming the resource and saying to add the jar containing it as a plugin dependency.

Closes #384

Verified: mvn -B -ntp verify -Prun-its -Dinvoker.test=MLICENSE-92 → 175 unit tests, 1 IT passed

@slachiewicz slachiewicz added the bug Something isn't working label Nov 8, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review November 8, 2026 22:26
@slachiewicz
slachiewicz merged commit c7f0038 into master Nov 8, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/classpath-resolver-error branch November 8, 2026 22:26
@github-actions github-actions Bot added this to the 2.8.1 milestone Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use licenseResolver with classpath. LicenseRepository throws error with lack of "baseUrl"

1 participant