Maven Installation and Setup (Windows + Unix)

This Article provides a complete guide to setup Apache Maven in your Windows or Unix based environment(Linux, Solaris and Mac OS X). Maven version used in this article is Apache Maven 3.1.1. 1. Download Apache Maven & Extract it Download the latest Maven version from Apache Maven site for your environment. Unzip or Untar it…

Continue reading

Creating Maven multi-module project with Eclipse

In this post, we will see how to create a maven Multi-module project. Multi-module project structuring can be handy when we have to share a particular module between different projects. For instance, you can have different web-applications which are using same module for interacting with database. We will develop a parent-project and three sub-modules projects…

Continue reading

Create a Maven Project with CommandLine

In this tutorial, we will look on how to create a java project with Maven. Following technologies being used: Maven 3.1.1 JDK 1.6 Eclipse JUNO Service Release 2 M2Eclipse plugin (Optional) Let’s get going. Step 1: Install and setup maven In case you don’t have maven already installed on your system, Please follow Maven Download…

Continue reading

Create a Maven Web Project with Eclipse

This post demonstrates creating a Maven web project with eclipse. This is fairly simple. Let’s begin. 1: Start Eclipse, click on File->New->Other 2: In the popped New wizard, scroll down and select Maven->Maven Project, click Next 3: In above screen, leave the ‘Use default workspace location’ selected to create this project in the current workspace.Click…

Continue reading