Sunday, 31 July 2011

Creating a Multi-Module Maven Project

Install Maven plugin for Eclipse:

Once the plugin is installed we can create a maven project like this:

Click on Next; enter group id, artifact id, version and package; click Finish.

Now as we want to create modules inside this project, we need to change the packaging to pom. Refer screenshot.

Create a new maven module.

Click on Next; enter package name and click Finish.

Similarly create other modules like 'view' and 'controller'. The final pom file will look like this:

<project xmlns="" xmlns:xsi=""





No comments:

Post a Comment