Skip to main content
Version: 1.8.x

Maven

Collects Maven artifacts.

Details

Transfer Tag

hoppr.core_plugins.collect_maven_plugin

Supported PURLs

maven

System Dependencies

Transfer File Example

---
schemaVersion: v1
kind: transfer

stages:
collect:
plugins:
- name: hoppr.core_plugins.collect_maven_plugin
config:
maven_opts:
- -Dhttp.proxyHost=proxy.mycompany.com
- -Dhttp.proxyPort=80
- -Dhttps.proxyHost=proxy.mycompany.com
- -Dhttps.proxyPort=80
- -Dhttp.nonProxyHosts=*.mycompany.com

max_processes: 3

Configuration Options​

OptionDetails
maven_commandString. Defaults to mvn. Command to be used to execute mvn commands. May be overridden with another command that uses the same syntax, or a fully qualified path if mvn is not on the default $PATH.
maven_optsArray of Strings. Additional options to be passed to the mvn command
process_timeoutNumber of seconds to attempt collect before timeout. Default: 60