Do you get any error messages ?
What is the ajc command line output (could be seen running maven in
debugmode with -X) ?
I am using this feature myself in one of my projects, and in my
project it works nicely



On 10/03/07, Matt Raible <[EMAIL PROTECTED]> wrote:
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



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

   http://xircles.codehaus.org/manage_email

Reply via email to