maven-compiler-plugin icon indicating copy to clipboard operation
maven-compiler-plugin copied to clipboard

[MCOMPILER-496] The resolve process of annotationProcessorPaths is not aware of WorkspaceReader

Open jira-importer opened this issue 3 years ago • 1 comments

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

jira-importer avatar May 06 '22 09:05 jira-importer

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.

jira-importer avatar Jan 24 '23 22:01 jira-importer