Article
Dependency management tools for Java
Regardless of your experience in Java, you have certainly heard about building applications. Even if your single Java code consists of just one class declaration with System.out.println (“Hello World!”) in the main method it has to be built. You are going to compile the class and make an executable jar to show your friend the magic of HelloWorldApp, aren’t you? After a few days of practising Java, you will want to add some dependencies and unit tests and you’ll meet a build process again and again. Most likely you will notice that in many cases you have to do the same magic with your source code every time you want to run it: add dependencies, compile, test, package, deploy… and the cycle is growing. And here the build automation tools come to do the trick.
In this article, we’ll set up a local deployment of a small web application in Eclipse Mars IDE without build automation and then improve dependency management by integrating several tools. The article will be interesting for Java developers with any level of expertise.
Skills that you will get in this material