target.chown(sonatypeDir, "jetty", "jetty", true, false);
}
private String encryptNexusPassword(String ldapPassword) throws OpsException {
NexusLdapPasswords nexusLdapPasswords = new NexusLdapPasswords();
nexusLdapPasswords.addEscapeCharacters = false;
try {
return nexusLdapPasswords.encrypt(ldapPassword);
} catch (Exception e) {
ExceptionUtils.handleInterrupted(e);
throw new OpsException("Error encrypting password", e);
}
}