spring-cli icon indicating copy to clipboard operation
spring-cli copied to clipboard

spring boot add --from url results in Access token not provided error

Open slava-lu opened this issue 1 year ago • 0 comments

I would like to use spring boot cli to generate and update dependencies in Java Spring Boot projects according to this doc. https://docs.spring.io/spring-cli/reference/commands/boot-add.html

My repository is private and can be accessed via http access token. When I do classical git clone https://lusv:[email protected]/scm/elca-javacc/elca-spring-boot-cli-web everything works as expected and repository is cloned without any additional prompts.

But when I try do do the same with spring boot add spring boot add --from https://lusv:[email protected]/scm/elca-javacc/elca-spring-boot-cli-web

I get the error "Access token not provided for https://bitbucket.svc.elca.ch/scm/elca-javacc/elca-spring-boot-cli-web"

So how do I use spring boot add with http access token? Is it at all supported?

slava-lu avatar Nov 07 '24 15:11 slava-lu