2

I'm using Eclipse Indigo and have a Maven project which uses an annotation processor to generate code.

I have set up annotation processing in the project properties (in Eclipse), but ideally I'd prefer this IDE setting to be managed by Maven so I can share it easily with my colleagues.

Any suggestions would be appreciated

Chris Beach
  • 4,302
  • 2
  • 31
  • 50

1 Answers1

0

In Maven you'll need to specify annotationProcessors in the maven-compiler-plugin configuration. Though I don't think current JDT integration for m2eclipse is currently processing this configuration parameter and you may want to open an enhancement request for that.

Eugene Kuleshov
  • 31,461
  • 5
  • 66
  • 67