How to download jars from Maven Central without writing any pom.xml

Viewed 61747

I would like something like the following.

I want just an utility that is able to download jars and their dependencies from the Maven Repository without imposing no constraints on how my project should be built.

I would like something like this:

download-jar --dest=lib/ 'commons-io:commons-io:jar:1.4'

It should be able to download also the dependencies.

Update:

I wouldn't know about a pom.xml should be structured.

The only task I need to be accomplished is the download of the jars, I would like have a tool that could accomplish this task that doesn't bother me with superflous information.

There is something like that?

5 Answers
Related