maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Jean-Prost (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-580) sourceExcludes is applied to src/test/java, not to src/main/java
Date Mon, 21 Jun 2010 13:22:12 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225975#action_225975
] 

Dominique Jean-Prost commented on MECLIPSE-580:
-----------------------------------------------

same problem with eclipse:eclipse.

Please note that M2Eclipse does import the project correctly : exclusion is setup for src/main/java

> 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

        

Mime
View raw message