Skip to content

MavenParser fails on WindowsPath.relativize with 'other' has different root, when using multiple disks #546

@KaiqianYang

Description

@KaiqianYang

I try to run recipes on the sample https://github.com/openrewrite/spring-petclinic-migration, but failed with:

Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:4.42.0:run (default-cli) on project spring-petclinic: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:4.42.0:run failed: 'other' has different root

My command was:

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run "-Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:LATEST" "-Drewrite.activeRecipes=org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7"

Could you help me to run recipe on the sample project?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions