Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-48

eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.3
    • None
    • None

    Description

      The maven-compiler-plugin allows a configuration such as:

      <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <excludes>
      <exclude>**/idl/*Factory.java</exclude>
      </excludes>
      </configuration>
      </plugin>

      the generated .classpath file currently does not mention the excluded part:

      <classpathentry kind="src" path="src/main/java"/>
      <classpathentry kind="src" path="target/generated-sources/idl"/>

      which should be:

      <classpathentry excluding="**/idl/*Factory.java" kind="src" path="src/main/java"/>
      <classpathentry excluding="**/idl/*Factory.java" kind="src" path="target/generated-sources/idl"/>

      Attachments

        Issue Links

          Activity

            People

              fgiust Fabrizio Giustina
              duns Mark Donszelmann
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: