You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/01/22 03:44:06 UTC

[jira] Created: (MCOMPILER-26) Compiler plugin ignores includes / excludes

Compiler plugin ignores includes / excludes
-------------------------------------------

         Key: MCOMPILER-26
         URL: http://jira.codehaus.org/browse/MCOMPILER-26
     Project: Maven 2.x Compiler Plugin
        Type: Bug

    Versions: 2.0    
    Reporter: Carlos Sanchez
    Priority: Critical
     Fix For: 2.0.1


The plexus-compiler-javac component adds "-sourcepath" argument always, but I believe it shouldn't be included when the list of source files is provided, causing that javac tries to compile not included files.

example configuration:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <includes>
            <include>org/springframework/core/**</include>
            <include>org/springframework/util/**</include>
          </includes>
          <testIncludes>
            <include>org/springframework/core/**</include>
            <include>org/springframework/util/**</include>
          </testIncludes>
          <testExcludes>
            <exclude>org/springframework/util/comparator/ComparatorTests.java</exclude>
            <exclude>org/springframework/util/ClassUtilsTests.java</exclude>
            <exclude>org/springframework/util/ObjectUtilsTests.java</exclude>
            <exclude>org/springframework/util/ReflectionUtilsTests.java</exclude>
            <exclude>org/springframework/util/SerializationTestUtils.java</exclude>
            <exclude>org/springframework/core/io/ResourceTests.java</exclude>
          </testExcludes>
        </configuration>
      </plugin>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MCOMPILER-26) Compiler plugin ignores includes / excludes

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-26?page=all ]
     
Carlos Sanchez closed MCOMPILER-26:
-----------------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

Fixed deploying plexus-compiler-javac snapshot

> Compiler plugin ignores includes / excludes
> -------------------------------------------
>
>          Key: MCOMPILER-26
>          URL: http://jira.codehaus.org/browse/MCOMPILER-26
>      Project: Maven 2.x Compiler Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Assignee: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> The plexus-compiler-javac component adds "-sourcepath" argument always, but I believe it shouldn't be included when the list of source files is provided, causing that javac tries to compile not included files.
> example configuration:
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <configuration>
>           <includes>
>             <include>org/springframework/core/**</include>
>             <include>org/springframework/util/**</include>
>           </includes>
>           <testIncludes>
>             <include>org/springframework/core/**</include>
>             <include>org/springframework/util/**</include>
>           </testIncludes>
>           <testExcludes>
>             <exclude>org/springframework/util/comparator/ComparatorTests.java</exclude>
>             <exclude>org/springframework/util/ClassUtilsTests.java</exclude>
>             <exclude>org/springframework/util/ObjectUtilsTests.java</exclude>
>             <exclude>org/springframework/util/ReflectionUtilsTests.java</exclude>
>             <exclude>org/springframework/util/SerializationTestUtils.java</exclude>
>             <exclude>org/springframework/core/io/ResourceTests.java</exclude>
>           </testExcludes>
>         </configuration>
>       </plugin>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MCOMPILER-26) Compiler plugin ignores includes / excludes

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCOMPILER-26?page=all ]

Carlos Sanchez updated MCOMPILER-26:
------------------------------------

    Fix Version: 2.0.1

> Compiler plugin ignores includes / excludes
> -------------------------------------------
>
>          Key: MCOMPILER-26
>          URL: http://jira.codehaus.org/browse/MCOMPILER-26
>      Project: Maven 2.x Compiler Plugin
>         Type: Bug

>     Versions: 2.0
>     Reporter: Carlos Sanchez
>     Priority: Critical
>      Fix For: 2.0.1

>
>
> The plexus-compiler-javac component adds "-sourcepath" argument always, but I believe it shouldn't be included when the list of source files is provided, causing that javac tries to compile not included files.
> example configuration:
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <configuration>
>           <includes>
>             <include>org/springframework/core/**</include>
>             <include>org/springframework/util/**</include>
>           </includes>
>           <testIncludes>
>             <include>org/springframework/core/**</include>
>             <include>org/springframework/util/**</include>
>           </testIncludes>
>           <testExcludes>
>             <exclude>org/springframework/util/comparator/ComparatorTests.java</exclude>
>             <exclude>org/springframework/util/ClassUtilsTests.java</exclude>
>             <exclude>org/springframework/util/ObjectUtilsTests.java</exclude>
>             <exclude>org/springframework/util/ReflectionUtilsTests.java</exclude>
>             <exclude>org/springframework/util/SerializationTestUtils.java</exclude>
>             <exclude>org/springframework/core/io/ResourceTests.java</exclude>
>           </testExcludes>
>         </configuration>
>       </plugin>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org