Previous – Chapter 15

Maven Tutorial – Chapter 16

Maven Eclipse IDE

Maven also provides an excellent plugin which helps to integrate both eclipse ide and maven together. M2eclipse is the plugin used to integrate maven and eclipse. Below are some of the key benefits of this plugin:

Install m2eclipse plugin

Follow the below link to easily install the m2eclipse plugin in your eclipse IDE.
http://books.sonatype.com/m2eclipse-book/reference/ch02s03.html

Creating a maven project in eclipse

Below is the step by step explanation on creating a maven project in eclipse

  1. Open the eclipse. File -> New -> Project and search by the keyword maven and select “Maven project”
    me_1
    2.  Selection the option “Create a simple project” and click on next.me_2Provide the details for groupId, artifactId, version and packaging as shown below and click on finish.

    me_3

    A new project name “SampleMavenProject” will be created as shown below:

    me_4

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *