Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dernasherbrezon/deps-maven-plugin

Maven plugin that outputs dependency information suitable for bash script to download
https://github.com/dernasherbrezon/deps-maven-plugin

distribution filesize maven-plugin

Last synced: about 2 months ago
JSON representation

Maven plugin that outputs dependency information suitable for bash script to download

Awesome Lists containing this project

README

        

# deps-maven-plugin [![.github/workflows/build.yml](https://github.com/dernasherbrezon/deps-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/dernasherbrezon/deps-maven-plugin/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dernasherbrezon_deps-maven-plugin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dernasherbrezon_deps-maven-plugin)

Maven plugin that outputs dependency information suitable for bash script to download. This is reasonable tradeoff between creating fat jar and installing full jdk, maven with ton of dependencies.

# configuration




Parameter


Default value


Description





repositories
${project.build.directory}/repositories.txt
file with repositories used by project. Every repository on separate line.


dependencies
${project.build.directory}/dependencies.txt
file with dependencies and transitive dependencies. Every dependency on separate line. Format suitable for download. I.e. ```/com/example/artifact/1.0/artifact-1.0.jar```


script
${project.build.directory}/download-dependencies.sh
script that could download dependencies from repositories. no maven required.


excludes

List of artifacts to exclude. This is very useful to exclude artifacts from the private repositories. The pattern follows maven assembly plugin

# sample configuraiton

```xml

com.aerse.maven
deps-maven-plugin

${project.build.directory}/deps/repositories.txt
${project.build.directory}/deps/dependencies.txt
${project.build.directory}/deps/script.sh

com.examples:*:*