Maven-download-plugin is a project mainly written in Java, it's free.
maven-download-plugin
The idea of the Maven Download Plugin is that it sometimes it happens that you need to download any kind of files or archives from a given URL and unpack the archives.
Apache License, Version 2.0, January 2004
The Issue Tracker
The first and simplest usage is to configure the Maven Download Plugin
<plugin>
<groupId>com.soebes.maven.plugins</groupId>
<artifactId>maven-download-plugin</artifactId>
<version>0.1</version>
<configuration>
<url>http://archive.apache.org/dist/hadoop/common/hadoop-0.21.0/hadoop-0.21.0.tar.gz</url>
<downloadDirectory>${project.build.directory}/downloads/</downloadDirectory>
<unpackDirecotry>${project.build.directory}/installations/</unpackDirecotry>
</configuration>
</plugin>