https://github.com/windup/nexus-repository-indexer
Utilities for generating index files from Nexus metadata databases
https://github.com/windup/nexus-repository-indexer
Last synced: 8 months ago
JSON representation
Utilities for generating index files from Nexus metadata databases
- Host: GitHub
- URL: https://github.com/windup/nexus-repository-indexer
- Owner: windup
- Created: 2015-02-05T22:46:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-07-12T01:41:17.000Z (11 months ago)
- Last Synced: 2025-08-10T06:35:52.693Z (10 months ago)
- Language: Java
- Size: 176 KB
- Stars: 1
- Watchers: 9
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maven Central Index
Since [OSSRH-60950](https://issues.sonatype.org/browse/OSSRH-60950), `nexus-repository-indexer` provides a way to build a fixed version of the `nexus-maven-repository-index.gz` Maven Central Index (ref. [Central Index](https://maven.apache.org/repository/central-index.html#central-index)) without `module` and `pom.512` files but with the right JAR files inside.
The `nexus-maven-repository-index.gz` Maven Central Index can either be downloaded from nightly build or built locally.
Check the next paragraphs for both the options.
## Download fixed Maven Central Index
There's a night build that creates ever day an update version of the `nexus-maven-repository-index.gz` Maven Central Index.
From the ["Create fixed Maven Central Index" runs list](https://github.com/windup/nexus-repository-indexer/actions?query=event%3Aschedule+is%3Asuccess+workflow%3A%22Create+fixed+Maven+Central+Index%22) select the latest run.
In the details page download the `nexus-maven-repository-index.gz` from the `Artifacts` section.
## Create a fixed Maven Central Index
To build the index locally on your host, follow the following steps:
1. clone this repo
`$ git clone https://github.com/windup/nexus-repository-indexer.git`
1. move into the `nexus-repository-indexer` folder
`$ cd nexus-repository-indexer`
1. install the parent POM
`$ mvn -N install`
1. install the `indexer` module
`$ mvn -f indexer/pom.xml install`
1. build the index
`$ mvn -f data-text/pom.xml package -DskipTests -P update-central-index`