Permalink
Browse files

nicer output

  • Loading branch information...
mkristian committed Jan 24, 2013
1 parent 177fe8f commit 06321cb99227c112595e47746c2120760439edd5
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/jbundler/SimpleRepositoryListener.java
@@ -54,11 +54,13 @@ private String toUrl(RepositoryEvent event) {
RemoteRepository repository = (RemoteRepository) event.getRepository();
String path = lrm.getPathForRemoteArtifact(event.getArtifact(), repository, null);
String url = repository.getUrl() + "/" + path;
+ if (repository.getProxy() != null )
+ url += " via proxy " + repository.getProxy();
return url;
}
public void artifactDownloaded(RepositoryEvent event) {
- out.println("artifact downloaded: " + event.getArtifact());
+ out.println("downloaded " + toUrl(event));
}
public void metadataInvalid(RepositoryEvent event) {

0 comments on commit 06321cb

Please sign in to comment.