Skip to content

Command-Line Help

MvnQuery version 0.3.0
MvnQuery retrieves Maven repository index and makes query on it.

Usage:
java --enable-native-access=ALL-UNNAMED -jar mvnquery.jar [options]

  Options:
    --artifactId, -a
      Filter by artifactId
    --classifier, -c
      Filter by classifier
      Default: -
    --config-data-dir
      Set data directory for index
      Default: /home/runner/.mvnquery
    --config-repo
      Set repository URL
      Default: https://repo1.maven.org/maven2
    --force-update
      Force index update even if interval hasn't passed
      Default: false
    --groupId, -g
      Filter by groupId
    --help, -h
      Prints this help
    --lastDays, -d
      Filter artifacts modified in last X days
      Default: 14
    --packaging, -p
      Filter by packaging type
      Default: jar
    --quiet, -q
      Don't print progress
      Default: false
    --skip-update
      Skip index update even if interval has passed
      Default: false
    --timestamp-format
      User defined format to print the lastModifiedTime ('iso', 
      'yyyyMMddHHmmssSSS', etc.)
    --use-timestamp, -t
      Include the lastModified field in query results
      Default: false
    --version, -v
      Print version
      Default: false