On 03/15/2018 01:41 PM, Lonzak wrote:
> Due to the lack of answers - is this the right place to ask such a
> question? Or is there some other forum?
My 0.01 on this: modifying Eclipse project files from a generic Maven
plugin does not seem like the right thing to do.
Ignoring optional compile errors ends up in the .classpath file of the
respective project:
<classpathentry kind=3D"src" output=3D"target/classes"
path=3D"target/generated-sources/xjc">
<attributes>
<attribute name=3D"ignore_optional_problems" value=3D"true"/>
<attribute name=3D"optional" value=3D"true"/>
<attribute name=3D"maven.pomderived" value=3D"true"/>
</attributes>
</classpathentry>
I only have a hand full of projects where I use this setting so manual
setup is OK. Your case smells more like a separate tool that modifies
the XML inside the .classpath files ...
-dirk