You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Diego Ballve (JIRA)" <ji...@codehaus.org> on 2007/02/12 17:50:21 UTC

[jira] Created: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

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


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

        

[jira] Updated: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox updated MECLIPSE-228:
-------------------------------

    Fix Version/s:     (was: 2.4)
                   2.5

> 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
>            Assignee: fabrizio giustina
>             Fix For: 2.5
>
>         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

        

[jira] Updated: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez updated MECLIPSE-228:
------------------------------------

    Fix Version/s:     (was: 2.3)
                   2.4

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

        

[jira] Updated: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Diego Ballve (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-228:
-------------------------------------

    Component/s: Dependencies resolution and build path

> 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
>          Components: Dependencies resolution and build path
>    Affects Versions: 2.0
>            Reporter: Diego Ballve
>            Assignee: fabrizio giustina
>         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

        

[jira] Commented: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Damon Jacobsen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110240 ] 

Damon Jacobsen commented on MECLIPSE-228:
-----------------------------------------

Is this what the eclipse integration 0.11 is using to "update source folders"? This issue is bothersome.

> 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
>            Assignee: fabrizio giustina
>             Fix For: 2.5
>
>         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

        

[jira] Updated: (MECLIPSE-228) CLONE -eclipse:eclipse goal should handle includes and excludes of the maven-compiler-plugin

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-228:
-------------------------------------

    Fix Version/s:     (was: 2.5)

> 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
>            Assignee: fabrizio giustina
>         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