java - How to parse/unzip/unpack Maven repository indexes generated by Nexus -


i have downloaded indexes generated maven central http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/nexus-maven-repository-index.gz

i list artifacts information these index files (groupid, artifactid, version example). have read there high level api that. seems have use following maven dependency. however, don't know entry point use (which class?) , how use access files:

<dependency>     <groupid>org.sonatype.nexus</groupid>     <artifactid>nexus-indexer</artifactid>     <version>3.0.4</version> </dependency> 

take peek @ https://github.com/cstamas/maven-indexer-examples project.

in short: dont need download gz/zip (new/legacy format) manually, indexer take care of doing (moreover, handle incremental updates too, if possible).

gz "new" format, independent of lucene index-format (hence, independent of lucene version) containing data only, while zip "old" format, plain lucene 2.4.x index zipped up. no data content change happens currently, planned in future.

as said, there no data content difference between two, fields (like noticed) indexed not stored on index, hence, if consume zip format, have them searchable, not retrievable.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -