Maven密码加密
Maven密码加密 第1步执行shell: mvn –encrypt-master-password “SomeMadeUpMasterPassword” {nDpn1bE1vX4HABCDEFGOriBubJhppqAOuy4=} 第2步执行shell,创建~/.m2/settings-security.xml <settingsSecurity> <master>{nDpn1bE1vX4HABCDEFGOriBubJhppqAOuy4=}</master> </settingsSecurity> 第3步执行shell: mvn –encrypt-password “YourNEXUSPassword” {X/Mnlwkfm90HVsaddbsadsadlsakdsalfdlfdhfldsfldslE3LQ8g4=} 第4步写入~/.m2/settings.xml <settings> … <servers> … <server> <id>public</id> <username>spothireddy</username> <password>{X/Mnlwkfm90HVsaddbsadsadlsakdsalfdlfdhfldsfldslE3LQ8g4=}</password> </server> … </servers> … </settings>