In case you are still using the basic/auth it is time to move to personal access token.
Go to the settings from the
Once you navigate into settings, you have to select
Select Personal access tokens, and then click
Generate new token in the next scren
Select the appropriate name and scope for the token.
Once you are done click
Once added you can use that as part of the
scm plugin in the main pom, or use it in the
settings.xml. In my case I am using it in
server.xml but need to add the property
project.scm.id so that you refer the credentials.