Package reposearch
Class MavenArtifactSearch
- java.lang.Object
- 
- reposearch.MavenArtifactSearch
 
- 
 public class MavenArtifactSearch extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description MavenArtifactSearch()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.maven.index.context.IndexingContextcreateIndexingContext(org.codehaus.plexus.PlexusContainer plexus, java.io.File cachedir, java.io.File indexdir, java.lang.String id, java.lang.String repoid, java.lang.String repourl)static org.codehaus.plexus.PlexusContainercreatePlexus()static voidmain(java.lang.String[] args)Initialize maven and aether repository system.static voidsearchAndDump(org.apache.maven.index.NexusIndexer indexer, java.lang.String descr, org.apache.lucene.search.Query q)static voidsearchGroupedAndDump(org.apache.maven.index.NexusIndexer indexer, java.lang.String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g)static voidupdateIndex(org.codehaus.plexus.PlexusContainer plexus, org.apache.maven.index.context.IndexingContext context)
 
- 
- 
- 
Method Detail- 
mainpublic static void main(java.lang.String[] args) throws java.lang.ExceptionInitialize maven and aether repository system. From: https://github.com/cstamas/maven-indexer-examples/blob/master/indexer-example-01/src/main/java/org/apache/maven/indexer/example/App.java- Throws:
- java.lang.Exception
 
 - 
searchAndDumppublic static void searchAndDump(org.apache.maven.index.NexusIndexer indexer, java.lang.String descr, org.apache.lucene.search.Query q) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
searchGroupedAndDumppublic static void searchGroupedAndDump(org.apache.maven.index.NexusIndexer indexer, java.lang.String descr, org.apache.lucene.search.Query q, org.apache.maven.index.Grouping g) throws java.io.IOException- Throws:
- java.io.IOException
 
 - 
createPlexuspublic static org.codehaus.plexus.PlexusContainer createPlexus() 
 - 
createIndexingContextpublic static org.apache.maven.index.context.IndexingContext createIndexingContext(org.codehaus.plexus.PlexusContainer plexus, java.io.File cachedir, java.io.File indexdir, java.lang.String id, java.lang.String repoid, java.lang.String repourl)
 - 
updateIndexpublic static void updateIndex(org.codehaus.plexus.PlexusContainer plexus, org.apache.maven.index.context.IndexingContext context)
 
- 
 
-