]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1283] migrate dependencyTree() method to metadata repository
authorBrett Porter <brett@apache.org>
Thu, 26 Nov 2009 07:05:47 +0000 (07:05 +0000)
committerBrett Porter <brett@apache.org>
Thu, 26 Nov 2009 07:05:47 +0000 (07:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884425 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java

index 88bcdd96c834ffb32609096628827660cc315873..3256ac4d0d665ed6bb34f6f96e1285af194a27de 100644 (file)
@@ -311,9 +311,10 @@ public class ShowArtifactAction
     public String dependencyTree()
         throws ObjectNotFoundException, ArchivaDatabaseException
     {
-        this.model = repoBrowsing.selectVersion( getPrincipal(), getObservableRepos(), groupId, artifactId, version );
+        // temporarily use this as we only need the model for the tag to perform, but we should be resolving the
+        // graph here instead
 
-        return SUCCESS;
+        return artifact();
     }
 
     private List<String> getObservableRepos()