I've noticed that myself: the maven-compiler-plugin still executes even though aspectj-maven-plugin has taken care of the compile. Why is that? Is there no way to disable the default jdk compile?

On Aug 27, 2008, at 8:49 AM, Kaare Nilsen wrote:

Hi

You will also probably be needing to add source and target configuration for the maven-compiler-plugin

Regards
Kaare
On Jul 25, 2008, at 20:00 PM, [EMAIL PROTECTED] wrote:

I'm trying to use the aspectj-maven-plugin. I'm seeing errors because
I'm using annotations. I tried adding config/source/target:

      <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>aspectj-maven-plugin</artifactId>
             <executions>
                 <execution>
                     <goals>
                         <goal>compile</goal>       <!-- use this
goal to weave all your main classes -->
                         <goal>test-compile</goal>  <!-- use this
goal to weave all your test classes -->
                     </goals>
                      <configuration>
                         <source>1.5</source>
                         <target>1.5</target>
                     </configuration>
                 </execution>
            </executions>
        </plugin>

under execution but it didn't seem to help.

Also, I'm using build-helper-maven-plugin to set up multiple source
directories--does aspectj-maven-plugin recognize that because I'm
getting a lot of errors that it's not finding classes.

Thanks!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to