Reference implementation of JSR-250 common annotations for the Java platform, including @Resource, @PostConstruct, and @PreDestroy.
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Example using @Resource annotation for dependency injection
Replace javax.annotation with jakarta.annotation for Java EE 8+ compatibility.
No dependency data recorded yet.