[ 
https://issues.apache.org/jira/browse/MCOMPILER-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy reopened MCOMPILER-347:
------------------------------------

> Includes and excludes not passed into CompilerConfiguration
> -----------------------------------------------------------
>
>                 Key: MCOMPILER-347
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-347
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: zhangchang
>            Assignee: Olivier Lamy
>            Priority: Major
>
> Some groovy script is only for runtime excute, other source need compile for 
> test.
> So I set exclude in maven-compiler-plugin tag, but it not work.
> {code:java}
> <build>
>     ...
>     <plugins>
>       <plugin>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>3.5</version>
>         <configuration>
>           <compilerId>groovy-eclipse-compiler</compilerId>
>           <excludes>
>                     <exclude>**/rest/*</exclude>
>           </excludes>
>         </configuration>
>         <dependencies>
>           <dependency>
>             <groupId>org.codehaus.groovy</groupId>
>             <artifactId>groovy-eclipse-compiler</artifactId>
>             <version>2.9.2-01</version>
>           </dependency>
>           <dependency>
>             <groupId>org.codehaus.groovy</groupId>
>             <artifactId>groovy-eclipse-batch</artifactId>
>             <version>2.4.3-01</version>
>           </dependency>
>         </dependencies>
>       </plugin>
>     </plugins>
>     ...
> </build>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to