Apache Maven plugin
The Maven plugin enables you to download artifacts from a Maven repository.
Apache Maven is a software project management tool that can manage a project's build, reporting, and documentation.
Guidelines for using the Apache Maven plugin:
- To download Maven artifacts, the plugin works in conjunction with the Maven source configuration type. For details, see Source configuration types.
- You can download Maven artifacts using the Maven plugin and the Maven source configuration type integration only if you do not select the Copy to CodeStation option for the component.
If the Copy to CodeStation option is selected for the component, you cannot download using the Maven plugin and must use the DA VFS plugin instead. For details, see DA VFS plugin.
Note: To use Maven with Artifactory, see JFrog Artifactory plugin. The Maven plugin cannot be used to download Maven artifacts accessed through an Artifactory repository.
The plugin has the Maven Resolve step for you to add to your processes.
To use this step, open the process designer and navigate to Repositories > Artifact > Maven in the Tools pane.
Maven Resolve step
This step parses a list of artifacts from Maven and downloads them to be used in Deployment Automation processes.
The following table describes the step's properties:
|Repository Url||The base URL of the Maven repository.|
|Artifacts|| A line-separated list of artifacts to
download in the following format:
|Verify Hash||(Optional) Verify hashes after the file is downloaded|
|Username||(Optional) The username to authenticate with Maven|
|Password||(Optional) The password to authenticate with Maven|