Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven using windows authentication automatically

Tags:

maven

All, I am aware that providing a proxy entry for maven can enable using proxy authentication. My question is "Is it possible to enable proxy authentication without providing the proxy entries in the settings.xml file"?

I want to avoid providing clear text user id passwords in an XML file.

like image 964
Ayusman Avatar asked Aug 05 '11 06:08

Ayusman


2 Answers

Maven password encryption appears to be what you're looking for.

like image 200
Jon7 Avatar answered Sep 19 '22 16:09

Jon7


Maven has no support for transparent Kerberos support nor does it retrieve the proxy settings thru the JVM out of Windows. This means that you have to provide both proxy and your credentials. You should consider setting up a Nexus instance in your environment.

like image 33
Michael-O Avatar answered Sep 19 '22 16:09

Michael-O