This project is a service, which provides information about built artifacts and analyse the projects' dependencies. It can lookup the Red Hat artifacts and inform the users about alternatives instead of the artifacts used in their projects, produces dependency reports of artifacts and resolves dependency tree.
The project is currently based upon Quarkus (it used to use EAP 7).
The project requires JDK17 or higher and a recent Maven version.
mvn clean package
For the documentation (in the docs directory), the theme can be previewed locally. Assuming ruby-devel is installed and bundle install has been run, then run bundle jekyll serve -l -w -I
The application requires a running PostgreSQL instance. While this isn't configured by default adding e.g.
quarkus.datasource.db-kind=postgresql
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/postgres
quarkus.datasource.username=postgres
to an application/src/resources/application.properties and then building the application module would suffice.
It may then be started with
java -jar target/dependency-analysis-runner.jar
It listens on http://localhost:8080/ and the default endpoint is:
The Quarkus application has been configured with:
- Swagger (on http://localhost:8080/q/swagger-ui/ )
- Health (on http://localhost:8080/q/health/ )
The Dependency Analysis project uses two configuration files:
- A JSON configuration file for its configuration and is found in
common/src/main/resources/da-config.jsonor it can be set using property da-config-file e.g.
java -Dda-config-file=da-config-file.json -jar target/dependency-analysis-runner.jar
- A standard Quarkus
application.yamlwhich is currently only used to configure Quarkus components.