Class MinimalArtifactInfoIndexCreator

java.lang.Object
org.apache.maven.index.creator.AbstractIndexCreator
org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator
All Implemented Interfaces:
IndexCreator, LegacyDocumentUpdater

@Singleton @Named("min") public class MinimalArtifactInfoIndexCreator extends AbstractIndexCreator implements LegacyDocumentUpdater
A minimal index creator used to provide basic information about Maven artifact. This creator will create the index fast, will not open any file to be fastest as possible but it has some drawbacks: The information gathered by this creator are sometimes based on "best-effort" only, and does not reflect the reality (ie. maven archetype packaging @see MavenArchetypeArtifactInfoIndexCreator).
Author:
cstamas
  • Field Details

    • ID

      public static final String ID
      See Also:
    • FLD_INFO

      public static final IndexerField FLD_INFO
      Info: packaging, lastModified, size, sourcesExists, javadocExists, signatureExists. Stored, not indexed.
    • FLD_GROUP_ID_KW

      public static final IndexerField FLD_GROUP_ID_KW
    • FLD_GROUP_ID

      public static final IndexerField FLD_GROUP_ID
    • FLD_ARTIFACT_ID_KW

      public static final IndexerField FLD_ARTIFACT_ID_KW
    • FLD_ARTIFACT_ID

      public static final IndexerField FLD_ARTIFACT_ID
    • FLD_VERSION_KW

      public static final IndexerField FLD_VERSION_KW
    • FLD_VERSION

      public static final IndexerField FLD_VERSION
    • FLD_PACKAGING

      public static final IndexerField FLD_PACKAGING
    • FLD_EXTENSION

      public static final IndexerField FLD_EXTENSION
    • FLD_CLASSIFIER

      public static final IndexerField FLD_CLASSIFIER
    • FLD_NAME

      public static final IndexerField FLD_NAME
    • FLD_DESCRIPTION

      public static final IndexerField FLD_DESCRIPTION
    • FLD_LAST_MODIFIED

      public static final IndexerField FLD_LAST_MODIFIED
    • FLD_SHA1

      public static final IndexerField FLD_SHA1
  • Constructor Details

    • MinimalArtifactInfoIndexCreator

      public MinimalArtifactInfoIndexCreator()
  • Method Details