I have a third-party jar that doesn't exist in the maven repo, let's call it "a.jar", that also depends on at least 20+ third-party jars, most of which aren't in maven either, let's call them "b.jar, c.jar, d.jar, ...". How do I properly install it into the mvn repo with all it's dependencies?

I don't think the standard "[mvn install:install-file](http://maven.apache.org/plugins/maven-install-plugin/usage.html)" would work in this situation because I would install "a.jar" into the repo but none of its dependencies would be there, right? Plus, how would mvn even know that "a.jar" has dependencies when it's used in other projects.

I've seen one other stackoverflow question that seems similar to what I'm trying to do, 

[maven install and deploy 3rd party dependencies with simple command line](https://stackoverflow.com/questions/4632648/maven-install-and-deploy-3rd-party-dependencies-with-simple-command-line)

But I'm a mvn noob and it doesn't explain enough so I'm mostly lost on what he's doing and why : (. I mean I don't understand why I'd need to include pom.xml parent and child files to install these dependencies into the mvn repo... All I have right now is a lib folder with a whole bunch of jars in it!