maven-compiler-plugin
maven-compiler-plugin copied to clipboard
[MCOMPILER-496] The resolve process of annotationProcessorPaths is not aware of WorkspaceReader
Tamas Cservenak opened MCOMPILER-496 and commented
Hence, it cannot resolve annotation processor from current multi module build, and it requires annotation processor to be installed/downloaded.
Move off from legacy API and use something like maven-artifact-transfer instead of maven-compat that delivers Maven2 behaviour.
Issue Links:
- MCOMPILER-522 Use maven-resolver to resolve 'annotationProcessorPaths' dependencies
Petr Široký commented
I believe this has been fixed as part of MCOMPILER-522.
When running the ITs (e.g. MCOMPILER-203-processorpath), I seeing am the following output:
...
-processorpath <base-dir>/maven-compiler-plugin/target/it/MCOMPILER-203-processorpath/annotation-processor/target/classes:<base-dir>/maven-compiler-plugin/target/local-repo/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
...
which I think suggests that now the annotation-processor is "picked-up" from the multi module build.