Skip to content

Replace deprecated @Component with JSR 330 injection - #267

Merged
slachiewicz merged 1 commit into
masterfrom
agent/jsr330-component
Oct 30, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/jsr330-component

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Four mojos switch from the deprecated @Component annotation to constructor injection with @Inject, and javax.inject is declared as a provided dependency. The generated plugin.xml loses the corresponding <requirements> entries, which JSR 330 injection does not use.

Verified: mvn verify -Prun-its → 55 unit tests and 50 ITs pass

@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 30, 2026 06:48
@slachiewicz
slachiewicz merged commit f881bba into master Oct 30, 2026
27 of 54 checks passed
@slachiewicz
slachiewicz deleted the agent/jsr330-component branch October 30, 2026 20:42
@github-actions github-actions Bot added this to the 3.6.3 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