You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note, username and password are not present in the SCM URIs. However, when using the Maven release plugin, the value of the git.remote.origin.url is as follows:
That value file is being published to our internal Artifactory host. This only seems to be reproducible when running mvn release:prepare followed by mvn release:perform. Oddly, typical goals such as package and install don't include the user info. Additionally, the mvn deploy goal also does not include the user info section in the property. This appears to be related to the Maven Release Plugin somehow, but I do have a PR that fixes this issue with this plugin.
The text was updated successfully, but these errors were encountered:
You'll need Docker Compose to run it, but clearly demonstrates the issue. The underlying cause is likely the Maven Release plugin, which apparently includes the credentials in the URI but also manages to temporarily overwrite the origin URI to include the username and password. My PR fixes the issue.
In my
pom.xml
I have the following defined in my SCM config:Note, username and password are not present in the SCM URIs. However, when using the Maven release plugin, the value of the
git.remote.origin.url
is as follows:That value file is being published to our internal Artifactory host. This only seems to be reproducible when running
mvn release:prepare
followed bymvn release:perform
. Oddly, typical goals such aspackage
andinstall
don't include the user info. Additionally, themvn deploy
goal also does not include the user info section in the property. This appears to be related to the Maven Release Plugin somehow, but I do have a PR that fixes this issue with this plugin.The text was updated successfully, but these errors were encountered: