jbosstools / m2e-apt

Maven integration with Eclipse JDT Annotation Processor Toolkit
39 stars 19 forks source link

Support <annotationProcessors> configuration element #60

Open sewe opened 6 years ago

sewe commented 6 years ago

There exist annotation processors which are not declared in META-INF/services/javax.annotation.processing.Processor. These processors need to be explicitly selected using the maven-compiler-plugin’s <annotationProcessors> configuration element (the equivalent of javac’s -processor <class>).

AFAICT, this option is not supported by m2e-apt yet, making it impossible to configure annotation processing for such processors.

sewe commented 6 years ago

FWIW, I am aware that the JDT UI doesn’t seem to support explicit processor selection akin to -processor at the moment. I’ve already filed a bug report for that.

fbricon commented 5 years ago

Yeah sorry, we can't work around JDT APT for that. Maybe @brychcy will be interested in fixing it upstream ;-)

mickaelistria commented 2 years ago

m2e-apt's code is now included in https://github.com/eclipse-m2e/m2e-core , please consider reporting issue to https://github.com/eclipse-m2e/m2e-core/issues if it's still relevant.