We're updating the issue view to help you get more done. 

Maven plugin doesn't support Java 8 bytecode properly

Description

When source + target level are set to 1.8, the Spring Scanner Maven plugin behaves very strangely indeed.

If you create an empty class and annotate it with @Named / @Component, the plugin will detect the class just fine. If you then add a method to that class and use some JDK8 features, like a lambda, the plugin will silently ignore that class entirely (no exceptions or warnings of any kind when <verbose>true</verbose> is provided).

The Javassist version used by the Maven plugin is very old, this is the culprit.

Environment

None

Status

Assignee

Samuel Day

Reporter

Samuel Day

Labels

None

Risk factor

None

Issue Size

None

Approvers

None

Fix versions

Priority

Major