Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog Since Mojarra is available as a standalone JAR you can opt to update your Glassfish installation with a newer version. How would you do that? Well it is simple. 
  1. Make sure your Glassfish container is not running
  2. Grab the latest JAR from http://repo1.maven.org/maven2/org/glassfish/javax.faces/
  3. Replace the javax.faces.jar in the modules directory of your Glassfish directory with the downloaded JAR file
  4. Start your Glassfish container
And that is it. Enjoy!