Summary: | m2e-apt processes test resources in a Maven project | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Aritz Bastida <aritzbastida> |
Component: | APT | Assignee: | Generic inbox for the JDT-APT component <jdt-apt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | vsevolodgol |
Version: | 4.7.1a | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: | stalebug |
Description
Aritz Bastida
2018-04-11 18:52:13 EDT
In eclipse 4.8 M6, support for annotations processing of test sources has been added (see https://www.eclipse.org/eclipse/news/4.8/M6/#JDT). Running specific annotations processors for test sources cannot be suppressed, but the generated files are put into a separate output folder, maybe this will solve your use case? (Note you'll need the updated m2e and m2e-apt versions that configure this) T(In reply to Till Brychcy from comment #1) > In eclipse 4.8 M6, support for annotations processing of test sources has > been added (see https://www.eclipse.org/eclipse/news/4.8/M6/#JDT). Thank you for your quick response, Till. Will this feature be backported to Eclipse 4.7.1 (or at least, to 4.7.x branch)? (In reply to Aritz Bastida from comment #2) > Thank you for your quick response, Till. Will this feature be backported to > Eclipse 4.7.1 (or at least, to 4.7.x branch)? No. mmmm ok We have the same problem. We don't have annotation processing for test sources in a Maven (command line) build, therefore we don't want it in Eclipse too. Could JDT provide an option to disable test source processing? This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |