Skip to content

Test which dependencies end up in the RAR - #181

Merged
slachiewicz merged 1 commit into
masterfrom
agent/rar-it-dependencies
Oct 1, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/rar-it-dependencies

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

No IT had a dependency, so a change that stopped copying dependencies into the RAR would have stayed green. The new dependencies IT has a compile, an optional, a provided and a test dependency (small artifacts the build already resolves) and asserts that only the compile one lands in the RAR, which is the current behaviour of RarMojo.

Verified: the IT fails (jars = []) when the dependency copy in RarMojo is disabled.

Part of apache/maven#13309.

@slachiewicz
slachiewicz marked this pull request as ready for review October 1, 2026 05:57
@slachiewicz
slachiewicz merged commit c84f115 into master Oct 1, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/rar-it-dependencies branch October 1, 2026 19:21
@github-actions github-actions Bot added this to the 3.1.1 milestone Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant