-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy to azure artifacts #77
Comments
Looks like when uploading jar file, plugin (or aether) will send an |
Tried to use |
Sounds like my problem of deploying to Gitlab Package Repo faces the same issue. This is the gitlab/maven .m2/settings.xml config doc, which works for me |
https://docs.gitlab.com/ee/user/packages/maven_repository/?tab=sbt This should work with aether as well. This must be set for each project.
def myConfigureProjects: (Project => Project) = _.settings(
aetherCustomHttpHeaders := Map("Custom-header", "abc"),
publishTo := Some("gitlab" at "https:://gitlab.com/foo"),
credentials += credentials += Credentials("GitLab Packages Registry", "gitlab.com", "foo-deploy-token", "<token>")
)
lazy val p = project.configure(myConfigureProjects)
lazy val a = project.configure(myConfigureProjects) |
I am attempting to deploy to azure artifacts with aether deploy as an alternative to the sbt deployer. The sbt deploy does not seem to work. Has anyone had success with aetherDeploy and azure repo? I keep getting unauthorized 401 errors, but I know the credentials are correct as I can deploy a normal maven java project just fine.
The text was updated successfully, but these errors were encountered: