Maven manages the dependencies by downloading from central repositories, but many times we need to use jar’s which are not part of these central repositories. Let’s see how to add support for these jar’s in our Maven build. We shall use the simple maven project that we create in the post How to create a […]
In the last post, we saw how to create a simple Java project in Maven. In real world, we need to organize code into modules which can be reused across projects within organisation or even outside as well. In this post, we shall see how we can create a multi-module Java projects using Maven. Pre-requisite […]
Maven has become a de-facto tool for dependency management. A lot of times we need to create maven project. Let’s see how to create a simple Java project using Maven. Pre-requisite Java 6+ Maven 3.2.5 Here are few assumptions Package name = com.codezuzu (used for groupId) App name = maven-app (used for artifactId) Creating the […]
Many a times we have a need that we create a single jar with all the dependencies to ease of running. It’s quite easy to do so when using Maven. Let’s see how to create a single jar with all the dependencies.