Goals available for this plugin:
Goal | Description |
---|---|
download:artifact | This mojo is designed to download a maven artifact from the repository and download them in the specified path. The maven artifact downloaded can also download it's dependency or not, based on a parameter. |
download:help | Display help information on download-maven-plugin. Call mvn download:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
download:wget | Will download a file from a web site using the standard HTTP protocol. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.8 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>com.googlecode.maven-download-plugin</groupId> <artifactId>download-maven-plugin</artifactId> <version>1.6.8</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>com.googlecode.maven-download-plugin</groupId> <artifactId>download-maven-plugin</artifactId> <version>1.6.8</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"