Managing dependencies for your Java applications is difficult, unless you have Maven
! Maven is an Apache build manager for Java projects. In this post, we will use a Maven plugin (Maven Assembly
) to pull all the unirest-java dependencies in one bundle/jar file.
Let’s get started (the steps below assume you already have Java and Git
Update: If you’re building for Android, please refer to this post
1. Download/Install Maven
To check if you already have Maven in your machine, run
in your Terminal. OS X prior to Maverick already comes with Maven. If…