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

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/de1a138e-88cd-bc83-03c8-255985f7762e%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to