Skip to content

Declare the Maven artifacts the code uses - #553

Merged
slachiewicz merged 1 commit into
masterfrom
agent/declare-maven-deps
Oct 30, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/declare-maven-deps

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Declares the Maven, Resolver and runtime artifacts that each module's classes reference directly but used to get only transitively, so the build no longer depends on what maven-core happens to bring in (javax.inject, SLF4J and Guice reach the compile path only through maven-core 3.x's own dependencies, and maven-plugin-api 4 brings none of Sisu's). Each one was confirmed by a class reference in target/classes or target/test-classes, found with pilot's bytecode analysis.

  • exec-maven-plugin: maven-resolver-api (compile); org.eclipse.sisu.plexus (provided).

exec-maven-plugin: maven-resolver-api (compile); org.eclipse.sisu.plexus (provided).
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring or other internal change label Oct 29, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 29, 2026 22:19
@slachiewicz
slachiewicz merged commit 192f143 into master Oct 30, 2026
15 checks passed
@slachiewicz
slachiewicz deleted the agent/declare-maven-deps branch October 30, 2026 10:39
@github-actions github-actions Bot added this to the 3.6.5 milestone Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant