i got my aspectj plugin working fine:
check out from svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-
sandbox/aspectj-maven-plugin
anyway, from the spectj-maven-plugin/pom.xml
I updated all 1.5.0_M5 to 1.5.0 (since 1.5.0 is the latest release
on 20th Dec 05')
-----------------------------------
my project pom.xml
-----------------------------------
<dependencies>
<dependency>
<groupId>aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.5.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<configuration>
<options>
<option>-1.5</option>
<option>-verbose</option>
<option>-showWeaveInfo</option>
</options>
<ajdtBuildDefFile>src/main/resources/build.ajproperties</
ajdtBuildDefFile>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<!--
<goal>test-compile</goal>-->
</goals>
</execution>
</executions>
</plugin>
</plugins>
NOTE: the last thing is the build.ajproperties. (default location
is project / , created by Eclipse AJDT, but I moved to src/main/
resources/)
---------------------------------------------------------------------
build.ajproperties
---------------------------------------------------------------------
src.includes = src/main/aspect/,\
src/main/java/com/mycompany/app/
src.excludes = src/test/,\
src/site/,\
src/main/assembly,\
src/main/filters,\
src/main/groovy
for more information, kindly do a search at nabble:
http://www.nabble.com/forum/Search.jtp?
query=AspectJ&forum=178&local=y&daterange=0&startdate=&enddate=
~manchi
On Jan 9, 2006, at 9:33 AM, trav wrote:
I am using maven2 and also use aspectj but cannot find any
documentation on aspectj for M2. I saw aspectj listed in the plugin
matrix but cannot find any other docs/info on it. Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]