Excludes option does not work for test-compile phase
----------------------------------------------------

                 Key: MASPECTJ-73
                 URL: http://jira.codehaus.org/browse/MASPECTJ-73
             Project: Mojo AspectJ Plugin
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Vitaliy Semochkin
         Attachments: hello-aspectj.zip

Excludes option does not work for test-compile phase.

Following configuration excludes aspect FooAspect from compile phase but during 
test-compile the aspect is compiled.

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

sample maven project demonstrating the bug is attached.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to