AspectJ插件的1.3版有意将其编译目标的默认阶段从“过程源”更改为“编译”。要恢复在javac之前运行ajc的先前行为,您只需要向相关的“
execution”标记中添加一个“ phase”标记,如下所示:
<execution> <phase>process-sources</phase> <!-- or any phase before compile --> <goals> <goal>compile</goal> <goal>test-compile</goal> </goals></execution>



