You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "zhangchang (JIRA)" <ji...@apache.org> on 2018/07/04 04:01:00 UTC
[jira] [Created] (MCOMPILER-347) Includes and excludes not passed
into CompilerConfiguration
zhangchang created MCOMPILER-347:
------------------------------------
Summary: 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
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
(v7.6.3#76005)