[ https://issues.apache.org/jira/browse/MECLIPSE-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602124#comment-14602124 ]
Roman Ivanov commented on MECLIPSE-735: --------------------------------------- one more request for necessity and could be used as test project: https://github.com/checkstyle/checkstyle/pull/1219#issuecomment-115119836 > Ignore warnings for generated source directories > ------------------------------------------------ > > Key: MECLIPSE-735 > URL: https://issues.apache.org/jira/browse/MECLIPSE-735 > Project: Maven Eclipse Plugin > Issue Type: New Feature > Components: Core : Dependencies resolution and build path > (.classpath) > Reporter: Jeremy Gustie > > Eclipse has added the ability to ignore warnings for specific source > directories (see [Bug > 220928|https://bugs.eclipse.org/bugs/show_bug.cgi?id=220928]), it would be > nice if source folders located under the build directory automatically got an > {{ignore_optional_problems}} attribute set to {{true}} so generated code does > not produce warnings: > {code} > <classpathentry including="**/*.java" kind="src" > path="target/generated-sources"> > <attributes> > <attribute name="ignore_optional_problems" value="true"/> > </attributes> > </classpathentry> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)