Very often, when I change my Maven Projects settings (add/remove modules, change profile, refresh dependencies) - Idea resets Java Compiler (under Settings->Build->Compiler->Java Compiler) - to Ajc.
This is very annoying, because I use Javac for my project. And I feel like its very old bug, because I stumbled across it in earlier versions.
Is there any solution to stop Idea resetting default compiler to Ajc?
Thank you.
If "aspectj-maven-plugin" is used. Add 'skip' configuration, cheat 'aspectj support plugin' .
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.11</version>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<configuration>
<skip>false</skip>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With