I created a JSF web project using Maven in eclipse. As soon as I did this I found that my JSF pages are  not showing auto complete using tag lib defined.
I started looking into different solution about the same in eclipse preference. Finally after an hour I came across a solution.I decided to write this solution hoping this can help all our community.
  • Right click on your JSF web project and select Properties --> ProjectFacets
  • Select Dynamic web module
  • Select java Server faces along with applicable version
  • Go to advanced configuration and select your web content folder
  • Once you are done with all the configuration, Disable library configuration.