I want to use the fragment macro in my maven site documentation to enable testing my code examples with JUnit. But I do not want Eclipse to show a red marker "there is a build error" for all my projects (which happens because m2eclipse does not recognize the fragment macro). I want maven dependency management to be enabled for projects in Eclipse, so disabling maven integration is not an option at all. Switching to another IDE is not an option, as I cannot get all my colleagues to switch from Eclipse as well.
I would like to find a solution:
- Do the integration of Doxia in (m2). Eclipse recognizes or ignores the fragment macro.
- Make Eclipse ignore errors in apt files in general
thobe source
share