Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
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"/>
This patch seems to solve the issue on include/exclude not being considered for java sources and tests (works for me mode, sorry, no test).
Feel free to include it in svn if you find it appropriate.