From 90df2242acd0eb69d7fcc31e0513cef0e42b1a25 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Wed, 15 Jun 2011 09:25:15 +0000 Subject: [PATCH] added missing @Inject git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135973 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/web/action/ShowArtifactAction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java index 30e134ff3..f34b37b24 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java @@ -41,6 +41,7 @@ import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; +import javax.inject.Inject; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.ArrayList; @@ -73,6 +74,7 @@ public class ShowArtifactAction /** * plexus.requirement */ + @Inject private RepositoryContentFactory repositoryFactory; /* .\ Exposed Output Objects \.__________________________________ */ -- 2.39.5