Spring "advisor upgrade-plan apply" fails on license check
search cancel

Spring "advisor upgrade-plan apply" fails on license check

book

Article ID: 442537

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime

Issue/Introduction

Running "advisor upgrade-plan apply" generates a Build Failure during license-check due to missing recipes.

[WARNING] The POM for com.vmware.tanzu.spring.recipes:java-recipes:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:rewrite-hibernate:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:rewrite-migrate-java:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:rewrite-spring:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:rewrite-testing-frameworks:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:spring-boot-2-upgrade-recipes:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:spring-boot-3-upgrade-recipes:jar:1.6.1 is missing, no dependency information available
[WARNING] The POM for com.vmware.tanzu.spring.recipes:spring-boot-4-upgrade-recipes:jar:1.6.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.146 s
[INFO] Finished at: 2026-05-14T13:31:40+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project license-check: Could not resolve dependencies for project com.vmware.tanzu.advisor:license-check:jar:1.0.0: The following artifacts could not be resolved: com.vmware.tanzu.spring.recipes:java-recipes:jar:1.6.1, com.vmware.tanzu..
spring.recipes:rewrite-hibernate:jar:1.6.1, com.vmware.tanzu.spring.recipes:rewrite-migrate-java:jar:1.6.1, com.vmware.tanzu.spring.recipes:rewrite-spring:jar:1.6.1, com.vmware.tanzu.spring.recipes:rewrite-testing-frameworks:jar:1.6.1, com.vmware.tanzu.spring.recipes:spp
ring-boot-2-upgrade-recipes:jar:1.6.1, com.vmware.tanzu.spring.recipes:spring-boot-3-upgrade-recipes:jar:1.6.1, com.vmware.tanzu.spring.recipes:spring-boot-4-upgrade-recipes:jar:1.6.1: Failure to find com.vmware.tanzu.spring.recipes:java-recipes:jar:1.6.1 in <Image Repository URL> was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

Cause

The recipes are not extracted in $HOME/.m2 directory

Resolution

Set the user home as below:

advisor upgrade-plan apply -Duser.home=$HOME