Class NexusIndexerCli

java.lang.Object
org.apache.maven.index.cli.NexusIndexerCli

public class NexusIndexerCli extends Object
A command line tool that can be used to index local Maven repository.

The following command line options are supported:

  • -repository : required path to repository to be indexed
  • -index : required index folder used to store created index or where previously created index is stored
  • -name : required repository name/id
  • -target : optional folder name where to save produced index files
  • -type : optional indexer types
  • -format : optional indexer formats
When index folder contains previously created index, the tool will use it as a base line and will generate chunks for the incremental updates.

The indexer types could be one of default, min or full. You can also specify list of comma-separated custom index creators. An index creator should be a regular Plexus component, see MinimalArtifactInfoIndexCreator and JarFileContentsIndexCreator.