mirror of https://github.com/apache/archiva.git
[MRM-303] Fix errors at startup by defining some role-hints required by the new plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@518759 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b453788e4
commit
8c8ba57852
|
@ -48,6 +48,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.PlexusContainer</role>
|
<role>org.codehaus.plexus.PlexusContainer</role>
|
||||||
|
@ -62,6 +63,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.PlexusContainer</role>
|
<role>org.codehaus.plexus.PlexusContainer</role>
|
||||||
|
@ -76,6 +78,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.PlexusContainer</role>
|
<role>org.codehaus.plexus.PlexusContainer</role>
|
||||||
|
@ -90,6 +93,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.PlexusContainer</role>
|
<role>org.codehaus.plexus.PlexusContainer</role>
|
||||||
|
@ -104,6 +108,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.PlexusContainer</role>
|
<role>org.codehaus.plexus.PlexusContainer</role>
|
||||||
|
@ -118,6 +123,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
</requirements>
|
</requirements>
|
||||||
</component>
|
</component>
|
||||||
|
@ -128,6 +134,7 @@
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
<role>org.codehaus.plexus.security.rbac.RBACManager</role>
|
||||||
|
<role-hint>cached</role-hint>
|
||||||
</requirement>
|
</requirement>
|
||||||
</requirements>
|
</requirements>
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -49,7 +49,7 @@ public class BrowseAction
|
||||||
extends PlexusActionSupport
|
extends PlexusActionSupport
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @plexus.requirement
|
* @plexus.requirement role-hint="lucene"
|
||||||
*/
|
*/
|
||||||
private RepositoryArtifactIndexFactory factory;
|
private RepositoryArtifactIndexFactory factory;
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ public class SearchAction
|
||||||
private Collection searchResults;
|
private Collection searchResults;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @plexus.requirement
|
* @plexus.requirement role-hint="lucene"
|
||||||
*/
|
*/
|
||||||
private RepositoryArtifactIndexFactory factory;
|
private RepositoryArtifactIndexFactory factory;
|
||||||
|
|
||||||
|
|
|
@ -94,12 +94,12 @@ public class ShowArtifactAction
|
||||||
private ArchivaConfiguration archivaConfiguration;
|
private ArchivaConfiguration archivaConfiguration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @plexus.requirement
|
* @plexus.requirement role-hint="lucene"
|
||||||
*/
|
*/
|
||||||
private RepositoryArtifactIndexFactory factory;
|
private RepositoryArtifactIndexFactory factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @plexus.requirement
|
* @plexus.requirement role-hint="maven"
|
||||||
*/
|
*/
|
||||||
private ArtifactMetadataSource artifactMetadataSource;
|
private ArtifactMetadataSource artifactMetadataSource;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue