What version of OpenRewrite are you using?
I am using
- Maven plugin v6.21.0
- rewrite-recipe-bom v3.16.0
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a multi-module project.
What is the smallest, simplest way to reproduce the problem?
I'll try to come up with a sample project, time permitting, but basically have a multi-module maven project where submodule a expresses an annotation processor dependency on submodule b. Then, a mvn clean rewrite:run will fail.
Note that a mvn clean install rewrite:run will succeed (workaround).
What did you expect to see?
Well, a working maven rewrite run :)
What did you see instead?
A failed run.
What is the full stack trace of any errors you encountered?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.1:compile (default-compile) on project a: Resolution of annotationProcessorPath dependencies failed: The following artifacts could not be resolved: b:jar:0.1-SNAPSHOT (absent): Could not find artifact b:jar:0.1-SNAPSHOT in artifact-registry (artifactregistry://xxx) -> [Help 1]
Time permitting