DATAJPA-883 - Fixed configuration of AspectJ Maven plugin.

We now enforce the AspectJ plugin to run no matter what to work around bugs in the plugin in combination with bugs in the compiler plugin.

https://github.com/mojohaus/aspectj-maven-plugin/issues/15
https://issues.apache.org/jira/browse/MCOMPILER-205
https://issues.apache.org/jira/browse/MCOMPILER-209
This commit is contained in:
Oliver Gierke
2016-04-06 19:40:16 +02:00
parent 644bae842a
commit 60c134e3bd

11
pom.xml
View File

@@ -454,7 +454,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.6</version>
<version>1.8</version>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
@@ -476,6 +476,15 @@
</executions>
<configuration>
<verbose>true</verbose>
<!--
To workaround:
- https://issues.apache.org/jira/browse/MCOMPILER-205
- https://issues.apache.org/jira/browse/MCOMPILER-209
- https://github.com/mojohaus/aspectj-maven-plugin/issues/15
-->
<forceAjcCompile>true</forceAjcCompile>
<aspectLibraries>
<aspectLibrary>
<groupId>org.springframework</groupId>