Closed starksm64 closed 2 weeks ago
Apparently I needed to add the jdbc artifiact to the rewrite plugin config:
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.32.1</version>
<configuration>
<activeRecipes>
<recipe>tck.jakarta.platform.rewrite.GenerateNewTestClassRecipe</recipe>
</activeRecipes>
</configuration>
<dependencies>
...
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jdbc</artifactId>
<version>${project.version}</version>
</dependency>
I did not need to do that with others, so there must be some transitive dependencies picked up for the other modules, but jdbc was not there.
Running the latest snapshot rewrite code on the jdbc module fails with: