if (log.isDebugEnabled()) {
log.debug("External repo validation is a private repo: " + repoURL);
}
if (repoUsername == null || repoUsername.trim().length() == 0 || repoPassword == null
|| repoPassword.trim().length() == 0) {
throw new RepositoryCredentialsRequiredException(
"Username and Password are required for private repository");
}
}
if (!testConnection) {