Søk i denne bloggen

torsdag 29. september 2011

Password encryption in maven settings.xml

create master encryption in settings-security.xml. use mvn encrypt-master-password <key>
    <settingsSecurity>
      <master>{W8KhSWMsODYH965ChH+0L2ec0aP8BUathXuBPdQTDzc=}</master>
    </settingsSecurity>
    Then use mvn-encrypt-password <password> and use it in the password tags in settings.xml.
You can add custom text outside the braces, i.e. meta info about the password

Ingen kommentarer:

Legg inn en kommentar