[ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Ballve updated MECLIPSE-228: ---------------------------------- Attachment: includeExclude.patch 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. > CLONE -eclipse:eclipse goal should handle includes and excludes of the > maven-compiler-plugin > -------------------------------------------------------------------------------------------- > > Key: MECLIPSE-228 > URL: http://jira.codehaus.org/browse/MECLIPSE-228 > Project: Maven 2.x Eclipse Plugin > Issue Type: Improvement > Affects Versions: 2.0 > Reporter: Diego Ballve > Assigned To: fabrizio giustina > Fix For: 2.3 > > Attachments: includeExclude.patch > > > 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 message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira