Open
Description
In order to build a java 9/10 module based aspect j project with maven I need to add aspectjrt.jar to the module path. The ajc compiler has the --module-path option e.g.:
ajc --module-path c:/opt/aspectj1.9/lib/aspectjrt.jar ...
but I can't seem to get the aspectj-maven-plugin to pass this through to the compiler.
aspectj-maven compiler version 1.11.
aspectj version 1.9.1
Note that I can get around this with the ASPECTJ_OPTS environment variable, e.g.
$ export ASPECTJ_OPTS="--module-path c:/opt/aspectj1.9/lib/aspectjrt.jar"
$ mvn aspectj:compile
Metadata
Metadata
Assignees
Labels
No labels