WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: aspectj-maven-plugin version

Re: aspectj-maven-plugin version

by Benjamin Bentmann :: Rate this Message:

| View in Thread

Dave Whittaker wrote:

> I don't suppose there is a way to change the version of AspectJ the
> plugin uses for compilation?

Using

   <plugin>
     <artifactId>aspectj-maven-plugin</artifactId>
     <dependencies>
       <dependency>
         <!-- your preferred AspectJ version here -->
       </dependency>
     </dependencies>
   </plugin>

you can add dependencies to the plugin's class path. These should come
up front the normal plugin dependencies so in principle that should
allow you to override the AspectJ version (as long as it's binary
compatible).


Benjamin

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: aspectj-maven-plugin version