Maven Intorduction

Apache Maven Is Powerful Java project management and build management tool. That means we can manage java project builds very easily using maven. Maven can helps you to minimize your project and build management time and efforts.
Why To Use Maven In Selenium Project?
As Maven Is build management tool, It will helps you to manage your selenium project’s build easily. It Is build management tool and It will manage your selenium test project’s build compilation, documentation and other related project tasks It self. It will helps you to create right project structure, add and manage jar files In project’s build path etc..
Maven uses POM.xml configuration file which kept all project configuration related Information. For selenium, You need to provide selenium webdriver version related Information In POM.xml file and then It will download all required jar files automatically and store It In local repository called m2. Later on If you wants to change version of selenium webdriver then you need to modify version In POM.xml file only. Then maven will download new version jar files automatically and store In local repository. That means If you upgrade any dependency’s version In POM.xml file, First It will check that version’s jar files are available or not In local repository. If available then fine else It will download them from maven central repository.

Leave a Reply

Your email address will not be published.