You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/09/29 12:43:06 UTC
svn commit: r700051 -
/geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
Author: jdillon
Date: Mon Sep 29 03:43:04 2008
New Revision: 700051
URL: http://svn.apache.org/viewvc?rev=700051&view=rev
Log:
Display resolved artifacts
Modified:
geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
Modified: geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java?rev=700051&r1=700050&r2=700051&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java (original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-repository/src/main/java/org/apache/geronimo/gshell/commands/repository/ResolveAction.java Mon Sep 29 03:43:04 2008
@@ -124,9 +124,13 @@
ArtifactResolutionResult result = artifactManager.resolve(request);
- //
- // TODO: Do something with the result?
- //
+ Set<Artifact> artifacts = result.getArtifacts();
+
+ io.info("Resolved artifacts:");
+
+ for (Artifact a : artifacts) {
+ io.info(" {}", a);
+ }
return Result.SUCCESS;
}