I'm converting an Ant-based project to Maven 2 and trying to get
AspectJ's compile-time weaving to work.  Everything works fine when I
use Ant or IDEA + its AspectJ plugin.

Here's what I have in my pom.xml.  I suspect my error is something
minor, but I can't see it.

           <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>aspectj-maven-plugin</artifactId>
               <configuration>
                   <source>1.5</source>
                   <target>1.5</target>
                   <verbose>true</verbose>
                   <complianceLevel>1.5</complianceLevel>
                   <showWeaveInfo>true</showWeaveInfo
                   <aspectLibraries>
                       <aspectLibrary>
                           <groupId>org.springframework</groupId>
                           <artifactId>spring-aspects</artifactId>
                       </aspectLibrary>
                   </aspectLibraries>
               </configuration>
               <executions>
                   <execution>
                       <goals>
                           <goal>compile</goal>
                           <goal>test-compile</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>

Thanks,

Matt

--
http://raibledesigns.com

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

   http://xircles.codehaus.org/manage_email

Reply via email to