I've been trying to get the Event Listener sample working. This sample works with the old <component-import> mechanism, yet when I create a new plugin is wants to use the new scanning @ComponentImport mechanism by preventing the <component-import>.
What I'm finding is that when I build the code, the compiler doesn't recognise @ComponentImport....it gives me a "cannot find symbol ComponentImport" error.
Do I need to import a package to the .java file?
As far as I can tell my pom file includes all the scanning stuff I need.