Maven Integration in eclipse

Steps to install Maven [m2eclipse] in Eclipse

Maven1

  • Choose ‘Select All‘ and click Next
  • Accept the terms of the license agreement‘ and Finish
  • And it will start installing the plugi n
  • Finally restart your eclipse to take effect the environment

Create new Maven Project in Eclipse
File > New Project > Maven Project > Next
Select ‘Create a simple project’ > Next
Enter Group Id, Artifact id – ex. MavenCucumberDemoClick Finish
Once Maven project is created, is creates the project hierarchy as below

Maven3

you can give the all project dependency in pom.xml. Maven will automatically download all dependent jar files as shown below for cucumber project

Maven2

 

 

Advertisements

About samp79

Professional Automation Tester
This entry was posted in Build Automation, Selenium. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s