spring-boot-migrator icon indicating copy to clipboard operation
spring-boot-migrator copied to clipboard

Revamp/997 example of iterative upgrade

Open fabapp2 opened this issue 1 year ago • 1 comments

The example uses sbm-support-rewrite parser and sequentially upgrades a given repo.

  1. A given repo gets cloned
  2. The version from the <parent> section of the pom.xml is extracted
  3. A matching upgrade recipe is looked up and applied
  4. The result is committed on a new branch and the changes get pushed
  5. A new PR with the changes of the upgrade is created
  6. The process stops until the PR is merged
  7. Go to 1

fabapp2 avatar Nov 20 '23 16:11 fabapp2

MavenArtifactDownloader should interpret relocations

The upgrade in #1001 fails from 2.5 to 2.6

org.openrewrite.maven.MavenDownloadingException: mysql:mysql-connector-java failed. Unable to download dependency mysql:mysql-connector-java:8.0.33. Response was 404

mysql:mysql-connector-java:8.0.33 is a relocation release and the MavenArtifactDownloader fails to download it.

The pom MySQL Connector Metadata

fabapp2 avatar Nov 20 '23 21:11 fabapp2