We have a password protected Maven repository. When downloading the http password is shown on the console:
Downloading: https://arved:[email protected]/content/groups/arved/org/apache/xbean/xbean-naming/3.7/xbean-naming-3.7.jar
Is it possible to hide the password somehow?
Your repository configuration (URL) is probably wrong, look at this page: http://maven.apache.org/guides/mini/guide-encryption.html (encryption is optional)
All what you need is to put password to $HOME/.m2/settings.xml
<settings>
...
<servers>
...
<server>
<id>arved-repository</id>
<username>arved</username>
<password>passw0rd</password>
</server>
...
</servers>
...
</settings>
And configure repository in pom.xml using defined earlier server.id:
<project>
...
<repositories>
<repository>
<id>arved-repository</id>
<name>Arved Repository</name>
<url>https://maven.arved.at/content/groups/arved</url>
</repository>
...
</project>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With