Nexus Indexer API: Part 2
This series of Nexus Indexer posts will focus on integrating the Nexus Indexer into your own application. If you have an application that needs to search for an artifact by GAV coordinates, or by class name, you can use the Nexus Index format and the Nexus Indexer API to very easily search and locate artifacts in any repository that creates a Nexus Index. There are four main functions that are exposed in the Nexus Indexer API.
- Indexing (Part 1)
- Searching
- Packing
- Updating
This post will focus on Searching and provide you with some concrete code examples that show you how to use the indexer search capabilities in your application. (more…)
Nexus Indexer API: Part 1
This series of Nexus Indexer posts will focus on integrating the Nexus Indexer into your own application. If you have an application that needs to search for an artifact by GAV coordinates, or by class name, you can use the Nexus Index format and the Nexus Indexer API to very easily search and locate artifacts in any repository that creates a Nexus Index. There are four main functions that are exposed in the Nexus Indexer API.
- Indexing
- Searching
- Packing
- Updating
This post will focus on Indexing and provide you with some concrete code examples that show you how to integrate the Nexus Indexer into your own application.
Nexus Indexer 2.0: incremental downloading
The nexus indexer has become fairly popular, and is the de-facto standard when it comes to indexing maven repositories (including the big boy, central). As repositories grow and grow, the index of artifacts grows right along with them. What was initially a small few hundred kilobyte file, will grow into 20-30 megabytes or more over time. Seeing as the index is the gateway into the contents of a repository (not for maven mind you, but for users), this is the most downloaded file, and a 20mb file being downloaded by thousands of people every day, the bandwidth costs can get pretty high. To combat this, we have introduced incremental index handling into the nexus indexer. There are 2 parts to this, building the incremental indexes for consumers to download, and retrieving the incremental indexes from a provider. (more…)