Can anyone tell me the use of jar file that is created after running a project as maven project?
Jars are binary files which are nothing but package of .class files and other related metadata. The Jar that your project generates is supposed to be used by other project. This way we achieve proper management in big projects.
You can thing of Selenium .jars. They are created by others but are used by different set of programmers.