Saturday, December 30, 2017

Maven Tutorial 03:What is Maven? How to create Maven project?

Maven is a build management tool or software project management and comprehension tool. Maven is free and open source tool provided by Apache Software Foundation. Maven is based on the concept project object model (POM).

Maven can manage a project's build, a project life cycle, a dependency management system and logic for executing plugin goals at defined phases in a life cycle. Maven much advanced than ANT build tool.

Creating Maven Project in Eclipse:

Step 1: To create a Maven project in eclipse, we need to install Maven plugin in eclipse but for latest eclipse versions like oxygen Maven plugin installed by default. If not installed check this post How to install Maven plugin in Eclipse IDE?

Step 2: Install Maven on windows, check this post How to install Maven on Windows?

Step 3: In Eclipse, go to File --> New--> Project. We will see 'New Project' window.

Step 4: Select Maven project and click on 'Next' button.

Step 5: We will see 'New Maven Project' window now. Click on 'Next' button.

Step 6: On the next window select 'maven-archetype-quickstart' and click on 'Next' button.

Step 7: Now enter Group Id, Artifact Id and Package as required and click on 'Finish' button.

Step 8: We should see a project being created in eclipse as shown in the below screenshot.

That is all about maven and creation of a maven project in eclipse.

Hope this information helpful to you. Please share with your friends and feel free to provide feedback. Thanks for reading!!
#seleniumbabu #HappyLearning #qababu #HappyTesting

No comments:

Post a Comment

Selenium4: Working with two parallel windows in Selenium Automation

A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...