spring-boot-migrator
spring-boot-migrator copied to clipboard
Revamp/997 example of iterative upgrade
The example uses sbm-support-rewrite parser and sequentially upgrades a given repo.
- A given repo gets cloned
- The version from the
<parent>section of the pom.xml is extracted - A matching upgrade recipe is looked up and applied
- The result is committed on a new branch and the changes get pushed
- A new PR with the changes of the upgrade is created
- The process stops until the PR is merged
- Go to 1
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.