| Summary: | Compiler warning with aspectj-maven-plugin: expected 1.6.11 found 1.6.12 | ||
|---|---|---|---|
| Product: | [Tools] AspectJ | Reporter: | Dan Rollo <danrollo> |
| Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | aclement, shashwat.work |
| Version: | unspecified | ||
| Target Milestone: | 1.9.5 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dan Rollo
It just occurred to me that maybe this bug report belongs with the aspectj plugin instead. I have made a similar report there: http://jira.codehaus.org/browse/MASPECTJ-106 can you change the dependency on aspectjtools to 1.6.12? As it must be the version number from a tools jar that is being used to check the version of aspectjrt. Adding a dep on the tools jar appears to have fixed the warning. Thanks!
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${version-plugin-aspectj}</version>
<configuration>
<source>${targetJdk}</source>
<target>${targetJdk}</target>
<verbose>true</verbose>
<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>
<dependencies>
<!-- Ensure aspectj tools version used by compiler is the same version used as dependency. Avoids warning
-->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>1.6.12</version>
</dependency>
</dependencies>
</plugin>
believed sorted out. |