java - aspectj-maven-plugin multi module project -
i'm trying use aspectj-maven-plugin in multi-module project , can't understand aspects have placed. want crosscut in-module , between-modules calls. .aj
files should located?
this did far (structure of maven modules):
foo foo-api foo-impl foo-aspects
.aj
files located in src/main/aspect
. sub-modules (except foo-aspects
) using aspectlibraries
option of aspectj-maven-plugin, use aspects foo-aspects.jar
.
at same time every sub-module has own aspects in src/main/aspect
. works fine me far.
Comments
Post a Comment