Skip to content

Add the third-party file to the resource directory regardless of its name - #796

Merged
slachiewicz merged 1 commit into
masterfrom
agent/third-party-resource-includes
Nov 8, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/third-party-resource-includes

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The add-third-party goal added its output directory as a resource with only **/*.txt, so a thirdPartyFilename or bundleThirdPartyPath with another extension never reached the jar. Both names are now included when they do not already match, and addOutputDirectoryAsResourceDir documents the includes; the default set is unchanged.

Closes #124

Verified: mvn -B -ntp verify -Prun-its -Dinvoker.test=add-third-party-with-deps → 177 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 23:08
@slachiewicz
slachiewicz merged commit ce78c05 into master Nov 8, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/third-party-resource-includes branch November 8, 2026 23:09
@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.

Remove constraint that require thirdPartyFilename to end with *.txt?

1 participant