Skip to content

Missing Dependendcy jakarta.xml.bind:jakarta.xml.bind-api after Spring 2.7 to 3.0 migration #284

@MBoegers

Description

@MBoegers

What version of OpenRewrite are you using?

rewrite-maven-plugin:5.4.2

How are you running OpenRewrite?

From terminal via maven on a single module maven project.
I run open Rewrite against Spring Petclinic https://github.com/spring-projects/spring-petclinic

What is the smallest, simplest way to reproduce the problem?

  1. Clone https://github.com/spring-projects/spring-petclinic
  2. Reset to Commit 276880edef4c3d1029865d19d6d28e982b9d4d01 it is the commit with the update to Spring Boot 2.7.3
  3. run ./mvnw -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0
  4. run ./mvnw clean compile

What did you expect to see?

Build succeeds and Application is runable.

What did you see instead?

Missing dependency jakarta.xml.bind:jakarta.xml.bind-api

Are you interested in contributing a fix to OpenRewrite?

not yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions