Re: [m2e-users] Annotation Processors

2017-02-07 Thread Dagan Sandler
I actually saw this limitation before, and I did "mvn install" the project with the AP and closed it, but that didn't help, no matter what I tried. I did open a new workspace though just now, created a new project, and imported the AP as a dependency the same way I did before. This time everything

Re: [m2e-users] Annotation Processors

2017-02-07 Thread Fred Bricon
There's a limitation in Eclipse JDT where you can't have a workspace project running annotation processors loaded from another workspace project. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=259230 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=280542 There's nothing we can do at the m2e-

Re: [m2e-users] Annotation Processors

2017-02-07 Thread Dagan Sandler
Yeah, can't get it working with Eclipse :\ On Sun, Feb 5, 2017 at 7:22 PM, Anton Tanasenko wrote: > Did you try (*turning it off and on again*) forcing maven project update > (alt+f5)? > > 2017-02-05 19:06 GMT+02:00 Dagan Sandler : > >> Hi, >> So I'm actually using m2e-apt already, and it's en

Re: [m2e-users] Annotation Processors

2017-02-05 Thread Anton Tanasenko
Did you try (*turning it off and on again*) forcing maven project update (alt+f5)? 2017-02-05 19:06 GMT+02:00 Dagan Sandler : > Hi, > So I'm actually using m2e-apt already, and it's enabled for all projects, > but for some reason it's not configuring the project to use the Annotation > Processor

Re: [m2e-users] Annotation Processors

2017-02-05 Thread Dagan Sandler
Hi, So I'm actually using m2e-apt already, and it's enabled for all projects, but for some reason it's not configuring the project to use the Annotation Processor I'm really not sure what I'm missing here. On Sun, Feb 5, 2017 at 2:13 PM, Anton Tanasenko wrote: > Hey, > M2e does not configure j

Re: [m2e-users] Annotation Processors

2017-02-05 Thread Igor Fedorenko
You may want to try takari-lifecycle [1], which I believe has better annotation processing support, especially in m2e. It does err on the conservative side and will refuse perform operations known to work unreliable during incremental build. So if your annotation processor does not correctly provid

Re: [m2e-users] Annotation Processors

2017-02-05 Thread Anton Tanasenko
Hey, M2e does not configure jdt-apt itself (which is a pain to configure manually), but there is m2e-apt [1] which would do that for your. As its description says, it's not enabled by default, you can either enable it globally in preferences or for each project separately (which is more preferable)

[m2e-users] Annotation Processors

2017-02-05 Thread Dagan Sandler
Hi, I am trying to get familiar with writing Annotation Processors and having a difficulty with integration somewhere between maven/eclipse I think. My setup is like so: - Project A contains: - Annotation - MyAnnotation - Annotation Processor - MyProcessor - Service provider - src/main