You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Greetings, I am working with Maven and i have a private repository in bitbucket for some of my libraries. The problem i have is, after the update to App passwords, Maven can´t access my repository anymore.
I tried to change the config in ~/.m2/settings.xml, doing something like this:
<server>
<id>example</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<!-- Base64-encoded "bitbucketuser:password" -->
<value>Basic xxx/value>
</property>
</httpHeaders>
</configuration>
</server>
where "xxx" is my Base64 encoded username:app_password. But it didn´t work. The message I obtain is: Not authorized , ReasonPhrase\:Unauthorized
Something im missing? Thanks!
Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!
Unfortunately I'm not familiar with Maven, but when I was reading about it, I found it out that there are two fields need to be added in the settings.xml file to be able to connect:
<properties>
<project.scm.id>my-scm-server</project.scm.id>
</properties>
<settings>
<servers>
<server>
<id>my-scm-server</id>
<username>myUser</username>
<password>myPassword</password>
</server>
</servers>
</settings>
Source: https://stackoverflow.com/questions/28282572/maven-release-plugin-git-credentials
Can you try to do the configuration as it's mentioned in this page and let me know if that helps?
I'm looking forward to hear from you.
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.