Maven is build management tool in Selenium and it helps us to run tests via a command.
Why you should use Maven?
It's hard to download and configure jar files in Eclipse.
It's even harder to get the latest jar files on each release ( selenium 2 to selenium 3 )
It is extremely hard to find what are all the dependent jars needed for one required jar. ( Ex: Http-client jar needed commons-logging. jar file )
Maven, who does many things besides the above three. In Testing servers, for that matter any Testing/stage/ Production environment. We are also not allowed to install an IDE Eclipse / Intellij Idea. Then how come we can run our tests? Again Maven! with the help of POM.xml & TestNg.xml. If you want to learn Selenium you can learn it by taking up the following Selenium Training Course. You should also watch the following video tutorial to learn it more. .