Hello,
I want to exclude FooApsect from test-compile phase.
The following configuration excludes FooAspect from compile phase but during
test-compile the aspect is compiled.
How to exclude FooAspect from test-compile phase?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<excludes>
<exclude>**/FooAspect.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks in Advance,
Vitaliy S