sourceExcludes is applied to src/test/java, not to src/main/java
----------------------------------------------------------------

                 Key: MECLIPSE-580
                 URL: http://jira.codehaus.org/browse/MECLIPSE-580
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
    Affects Versions: 2.7
            Reporter: nicolas de loof


With 

<plugin>
         <artifactId>maven-eclipse-plugin</artifactId>
         <version>2.7</version>
         <configuration>
           <sourceExcludes>
             <sourceExclude>**/emul/**/*.java</sourceExclude>
           </sourceExcludes>
         </configuration>
      </plugin>

runing mvn eclipse:m2eclipse the generated .classpath file is 

<classpath>
  <classpathentry kind="src" path="src/test/java" output="target/test-classes" 
including="**/*.java" excluding="**/emul/**/*.java"/>
  <classpathentry kind="src" path="src/test/resources" 
output="target/test-classes" excluding="**/*.java"/>
  <classpathentry kind="src" path="src/main/java"/>
...

The excluding attribute is set but not on the expected element

-- 
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

        

Reply via email to