Dependency management in software projects is a pretty simple problem when you think about it. A tool to manage dependencies just needs to do three things:
- Provide a mechanism to specify the direct dependencies to a project
- Download the transitive closure of dependencies to a project
- Publish packages that can be used as a dependency to other projects
Some languages have good dependency management systems - for example, rubygems. Others, like Java, have tools like Maven which I would call a complex solution to a simple problem. You shouldn't need to buy a book to understand the solution to such a simple problem. Plus, these dependency management systems are all language specific.
I've seen companies do crazy things to manage their dependencies. One company, to manage their jar files, would put all the jars that any project might need in a special "jars" project. You would then need to setup a JARS_HOME environment variable and be sure to update the jars project if you need any of the dependencies. If you needed an older version of something - forget about it. Plus it made deploys a huge pain, as each project had to ship with dependencies it didn't even use.
Enter Nanny.
Nanny makes it really easy to setup an internal repository to manage dependencies between projects. I spent a night hacking out Nanny and we're finding it incredibly useful at BackType. We manage dependencies between all our Java/Clojure projects using it, we distribute custom builds of Hadoop and Cassandra with it, and we're starting to use it to manage dependencies between our Python projects.
Nanny is hosted at GitHub and comes with documentation to get you started in no time.
You should follow me on Twitter here.