Could not understand about Maven pom file using Eclipse
Since i am not behind any proxy so i don't need to worry about the settings.xml file i just deleted .m2 folder and just simply try to create a maven project again and maven itself downloads the required dependencies automatically.
Hence problem is resolved.