You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jeremy Gustie (JIRA)" <ji...@codehaus.org> on 2012/10/22 22:12:36 UTC

[jira] (MECLIPSE-735) Ignore warnings for generated source directories

Jeremy Gustie created MECLIPSE-735:
--------------------------------------

             Summary: Ignore warnings for generated source directories
                 Key: MECLIPSE-735
                 URL: https://jira.codehaus.org/browse/MECLIPSE-735
             Project: Maven 2.x 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira