Pom Dependency Analyzer Web
This repository shows how to use these parts together to create a browsable webpage with dependents, and dependencies, of Maven artifacts.
- Pom Downloader - Downloads pom-files.
- Pom Dependency Analyzer - Analyzes pom-files and stores metadata on a filesystem.
- Pom Dependency Analyzer Web API - Uses metadata to implement a REST API with Maven Artifacts.
- Pom Dependency Analyzer Web Frontend - Browsable web page where users can inspect Maven artifacts.
This repo contains some scripts to get you started:
download-poms.sh- Downloads pom-files to
~/.m2and stores metadata in
build-api.shBuilds api in
This can be run periodically as a
cron-job or whatever. Or you can invoke
analyze-pom.sh when Maven artifacts are published, perhaps in a release-job, to get instantly updated
Main use case is to have a release-job read the
metadata to determine what other artifacts are depending on the newly released artifact. In order to automate releases of those artifacts as well.
You my supply metadata, like git-repo or Jenkins job, in
analyze-pom.sh and it will be part of the