-1

I am trying to pull dependencies from azure blob storage in my sbt project but it is unable to resolve the dependencies

I tried below ways to pull the dependencies from blob storage

  1. By enabling the sftp protocol on blob storage the following way resolvers += Resolver.sftp("my-sftp-repo", "example.org", 22)this was not working so i added sftp credentials also as follows resolvers += Resolver.sftp("sftp-repo", "my.example.com:22") (Resolver.ivyStylePatterns) as ("username","password")
  2. By enabling the https connection also i tried and try to pass credentials from a file as follows resolvers in Global += ("sftpRepo" at "https://mystorage.blob.core.windows.net/artifacts") and password like this credentials in Global += Credentials(Path.userHome / ".ivy2" / "storage.credentials")

It giving error unable to find the dependencies from both local and CI/CD pipeline also.

But above two methods not working for me and i went through many questions on stackoverflow and sbt documentation but didn't worked.

Please let me know if anything i missed or how can i pull the dependencies from azure blob storage.

user13906258
  • 161
  • 1
  • 13
  • What errors did you get each time you try to compile from sbt? Were you able to hit the server? Credential issues? What commands did you execute it? The error only happens from a CI/CD pipeline? From your local env? Please edit your post adding as many details as you can. Provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if it is possible – Gastón Schabas Aug 10 '23 at 17:04

0 Answers0