Due to inter-type declarations the project I'm currently working on has it's pom.xml
set to use ajc
disabling javac
.
// disable javac
<build>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
We were planing to use Dagger2 but that would require to put dagger-compiler
as an <annotationProcessorPaths>
to be used by the disabled javac
.
As aspectj-maven-plugin
does not support the required <annotationProcessorPaths>
I'm a bit at lost here. Any simple solution I'm not seeing or should I simply go with Guice?