diff --git a/maven-repository-webapp/pom.xml b/maven-repository-webapp/pom.xml index d588a485d..39f89081f 100644 --- a/maven-repository-webapp/pom.xml +++ b/maven-repository-webapp/pom.xml @@ -169,6 +169,12 @@ plexus.xml true + + + com.opensymphony.xwork.Action + per-lookup + + diff --git a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java index 4c0e8ba43..35f5de74f 100644 --- a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java +++ b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java @@ -37,7 +37,7 @@ import java.util.Map; /** * Searches for searchString in all indexed fields. * - * @plexus.component role="com.opensymphony.xwork.Action" role-hint="quickSearchAction" instantiation-strategy="per-lookup" + * @plexus.component role="com.opensymphony.xwork.Action" role-hint="quickSearchAction" */ public class QuickSearchAction extends ActionSupport diff --git a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java index 82288d761..6ccb922a3 100644 --- a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java +++ b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java @@ -32,7 +32,7 @@ import java.io.IOException; /** * Configures the application. * - * @plexus.component role="com.opensymphony.xwork.Action" role-hint="configureAction" instantiation-strategy="per-lookup" + * @plexus.component role="com.opensymphony.xwork.Action" role-hint="configureAction" */ public class ConfigureAction extends ActionSupport