Collection<URI> artifactUrls = getArtifactUrls();
for (URI repoUrl : artifactUrls) {
resolver.addArtifactUrl(getFilePath(repoUrl));
}
} else {
<BUG>PasswordCredentials credentials = getCredentials();
resolver.setRepository(new CommonsHttpClientBackedRepository(credentials.getUsername(), credentials.getPassword()));
resolver.setRoot(getUriPath(rootUri));</BUG>
Collection<URI> artifactUrls = getArtifactUrls();
for (URI repoUrl : artifactUrls) {

Collection<URI> artifactUrls = getArtifactUrls();
for (URI repoUrl : artifactUrls) {
resolver.addArtifactUrl(getFilePath(repoUrl));
}
} else {
HttpSettings httpSettings = new DefaultHttpSettings(getCredentials());
resolver.setRepository(new CommonsHttpClientBackedRepository(httpSettings));
resolver.setRoot(getUriPath(rootUri));
Collection<URI> artifactUrls = getArtifactUrls();
for (URI repoUrl : artifactUrls) {
