spring-projects-experimental / spring-boot-migrator

Spring Boot Migrator (SBM) is a tool for automated code migrations to upgrade or migrate to Spring Boot
Apache License 2.0
426 stars 87 forks source link

Unable to download using custom parent pom #1036

Open fopnet opened 4 months ago

fopnet commented 4 months ago

Describe the bug Unable download custom dependencies installed in local repository

SBM Version spring-boot-migrator v0.15.0

SBM Application

org.springframework.boot spring-boot-starter-parent 2.7.17

To Reproduce Steps to reproduce the behavior:

  1. java -jar -Dsbm.gitSupportEnabled=false spring-boot-migrator.jar
  2. com.mycompany commons 2.1.1

Expected behavior No throw any errors

Screenshots If applicable, add screenshots to help explain your problem.

Stacktrace show the pom.xml file adding the following in the end log Details of the error have been omitted. You can use the stacktrace command to print the full stacktrace.

Example Source code to replicate the issue (Optional) It would help us immensely if we were to have an example test source code or a snippet where you can see this problem, you could attach a zip file along with this issue.

Although this section is optional, it would speed up our process of providing a fix. P.S. Please remove any sensitive data and do not upload any proprietary source.

Desktop (please complete the following information): java17 Macos 12.5 Monterey

Additional context Add any other context about the problem here.