File repository = new File( cli.getOptionValue( REPO ) );
NexusIndexer indexer = (NexusIndexer) plexus.lookup( NexusIndexer.class );
IndexPacker packer = (IndexPacker) plexus.lookup( IndexPacker.class );
IndexingContext indexingContext = indexer.addIndexingContext( //
repositoryName, // context id
repositoryName, // repository id
repository, // repository folder