Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.3
-
Component/s: None
-
Labels: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"/>
Issue Links
- is depended upon by
-
MECLIPSE-232
excluding / including attribute classpathentry
-
- is related to
-
MECLIPSE-165
Ability to exclude filtered resources from eclipse's source directories
-
-
MECLIPSE-162
Ability to exclude a resource / source path from being added to the classpath file
-
- relates to
-
MECLIPSE-444
Included Resources break the classpath file and prevent eclipse from building
-
It's also useful to be able to specify direclty an exclude pattern for the plugin.
We have currntly problems with subversion directories (**/.svn/) which are correctly ignored (by default) by compilers but causes nasty warnings when eclipse manages resources.