Skip to content
Given a Maven repository, it will download all pom-files.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
build-and-run.sh
build.gradle
build.sh
gradle.properties
gradlew
gradlew.bat
release.sh

README.md

Pom Downloader

Build Status

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.

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:

./gradlew run --args="-g se.bjurr.violations -pt 100 -th 2"

Usage

-g, --groupid <string>                     Only consider artifacts within this 
                                           group.
                                           <string>: any string
                                           Default: 
-h, --help <argument-to-print-help-for>    <argument-to-print-help-for>: an argument to print help for
                                           Default: If no specific parameter is given the whole usage text is given
-ll, --log-level <string>                  [INFO, VERBOSE]
                                           <string>: any string
                                           Default: INFO
-lm, --local-maven <string>                This is where it will store pom-files.
                                           <string>: any string
                                           Default: <user home>/.m2
-m, --mirrors <string>                     Comma separated list of maven 
                                           mirrors to use.
                                           <string>: any string
                                           Default: https://repo1.maven.org/maven2,http://uk.maven.org/maven2,https://jcenter.bintray.com
-pt, --pause-time <integer>                Number of milliseconds to sleep 
                                           before each request.
                                           <integer>: -2,147,483,648 to 2,147,483,647
                                           Default: 100
-th, --threads <integer>                   Number of threads to use.
                                           <integer>: -2,147,483,648 to 2,147,483,647
                                           Default: 1
You can’t perform that action at this time.