Java 5 annotations to use in Mojos
To be able to use Maven Plugin Tools Java 5 Annotations, some configuration has to be done in pom.xml: see Using Plugin Tools Java5 Annotations example in maven-plugin-plugin documentation.