Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomasbjerre/pom-downloader
Given a Maven repository, it will download all pom-files.
https://github.com/tomasbjerre/pom-downloader
maven maven-repository repository
Last synced: about 1 month ago
JSON representation
Given a Maven repository, it will download all pom-files.
- Host: GitHub
- URL: https://github.com/tomasbjerre/pom-downloader
- Owner: tomasbjerre
- License: apache-2.0
- Archived: true
- Created: 2019-04-27T09:55:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T16:59:06.000Z (about 5 years ago)
- Last Synced: 2024-09-24T02:24:19.813Z (about 1 month ago)
- Topics: maven, maven-repository, repository
- Language: Java
- Size: 72.3 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Pom Downloader
[![Build Status](https://travis-ci.org/tomasbjerre/pom-downloader.svg?branch=master)](https://travis-ci.org/tomasbjerre/pom-downloader)
[![NPM](https://img.shields.io/npm/v/pom-downloader.svg?style=flat-square) ](https://www.npmjs.com/package/pom-downloader)This is a command line tool that downloads pom files from a remote Maven repository.
Intended to be used on a private Maven repository (like Nexus or Artifactory). As part of a set of tools to analyze dependencies between artifacts, see [Pom Dependency Analyzer](https://github.com/tomasbjerre/pom-dependency-analyzer).
You may try this on a public repository but be careful! Is is very likely a violation of its terms of service. See: https://central.sonatype.org/terms.html
Example, download all pom-files available in any group starting with `se.bjurr.violations`:
```shell
npx pom-downloader -g se.bjurr.violations -pt 100 -th 2
```Or with Java:
```shell
java -jar pom-downloader-*.jar -g se.bjurr.violations -pt 100 -th 2
```# Usage
```shell
-g, --groupid Only consider artifacts within this
group.
: any string
Default:
-h, --help : an argument to print help for
Default: If no specific parameter is given the whole usage text is given
-ll, --log-level [INFO, VERBOSE]
: any string
Default: INFO
-lm, --local-maven This is where it will store pom-files.
: any string
Default: /.m2
-m, --mirrors Comma separated list of maven
mirrors to use.
: any string
Default: https://repo1.maven.org/maven2,http://uk.maven.org/maven2,https://jcenter.bintray.com
-pt, --pause-time Number of milliseconds to sleep
before each request.
: -2,147,483,648 to 2,147,483,647
Default: 100
-th, --threads Number of threads to use.
: -2,147,483,648 to 2,147,483,647
Default: 1
```