Maven is software project management tool usually used for for JVM based projects. One of its features is dealing with external project dependencies similar to pip from python.
By default, the maven that is available in ubuntu’s ppa is out of date.
As of this post, the most recent version of mvn is 3.3.3.
Here is a gist on how to install it.
{% gist 512404dee5cd7fd26ac1 maven-333.sh %}