I'm having trouble authenticating with BitBucket through HTTPS via the Maven JGitFlow
plugin, run through git-bash
on Windows.
The error message is: "Authentication is required but no CredentialsProvider has been registered". The suggestions I've seen though seem to assume that I have access to the JGit code itself as a developer.
I've had no trouble executing git commands directly (I'm using git-credential-winstore
). Also, when I've supplied my username and password in the POM explicitly in the pom.xml file, it also worked.
However, I would not like my password to be uploaded to my BitBucket repository, and am looking for a way for the JGitFlow
plugin to authenticate the same way as GIT itself does.
What am I doing wrong, and how can I fix that?