Where are the annotations in atlassian-spring-scanner 2.0+

I am updating a plugin to atlassian-spring-scanner 2.0+. Unlike 1.x versions of atlassian-spring-scanner, the annotation classes (Scanned, Component,) are missing from the atlassian-spring-scanner-annotation artifact. How do I import them, or should I just stick to 1.x?

@jan.revis - looking at the README, it does state that @Scanned has been removed entirely. Check it out here, and let us know if you’re still having issues after making the mandatory changes.

1 Like

Thanks for following up. Yes, you are correct. The solution was to use the @Named decorator instead.