[
http://jira.codehaus.org/browse/MOJO-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136689#action_136689
]
ericeberry edited comment on MOJO-1115 at 5/29/08 10:31 AM:
------------------------------------------------------------
You can work around this by adding dependencies to the plugin specifying the
version of ajc that you want:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>aspectj compile</id>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>1.6.0</version>
</dependency>
</dependencies>
</plugin>
was (Author: ericeberry):
You can work around this by adding dependencies to the plugin specifying
the version of ajc that you want:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>aspectj compile</id>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>1.6.0</version>
</dependency>
</dependencies>
</plugin>
> upgrade to AspectJ 1.6.0
> ------------------------
>
> Key: MOJO-1115
> URL: http://jira.codehaus.org/browse/MOJO-1115
> Project: Mojo
> Issue Type: Improvement
> Components: aspectj
> Reporter: Andreas Kuhtz
>
> Upgrade to AspectJ 1.6.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email