mirror of https://github.com/apache/archiva.git
add OSGI index creator to the the list of indexors used by archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158020 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c3acb6212a
commit
f8aa5f9e78
|
@ -19,23 +19,24 @@ package org.apache.maven.archiva.common.utils;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.maven.index.context.IndexCreator;
|
||||
import org.apache.maven.index.creator.JarFileContentsIndexCreator;
|
||||
import org.apache.maven.index.creator.MavenPluginArtifactInfoIndexCreator;
|
||||
import org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator;
|
||||
import org.apache.maven.index.creator.OSGIArtifactIndexCreator;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* ArchivaNexusIndexerUtil
|
||||
*
|
||||
* ArchivaNexusIndexerUtil
|
||||
*/
|
||||
public class ArchivaNexusIndexerUtil
|
||||
{
|
||||
public static final List<? extends IndexCreator> FULL_INDEX = Arrays.<IndexCreator>asList(
|
||||
new MinimalArtifactInfoIndexCreator(),
|
||||
new JarFileContentsIndexCreator(),
|
||||
new MavenPluginArtifactInfoIndexCreator() );
|
||||
|
||||
// FIXME olamy use lookup mechanism from plexus/sisu as here some possible injections can fail !
|
||||
|
||||
public static final List<? extends IndexCreator> FULL_INDEX =
|
||||
Arrays.<IndexCreator>asList( new MinimalArtifactInfoIndexCreator(), new JarFileContentsIndexCreator(),
|
||||
new MavenPluginArtifactInfoIndexCreator(), new OSGIArtifactIndexCreator() );
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue