Tag de metadados não está funcionando no jsf

Eu estou tentando definir uma variável com viewparam mas não consigo obter o código para compilar no eclipse. Parece que não está encontrando as tags.

Eu tenho o mojarra 2.2 usado e estou incluindo o jsf-api-2.2.4 e impl também.

<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" version="2.0">
    <jsp:directive.page language="java"
        contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
    <jsp:text>
        <![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
    </jsp:text>
    <jsp:text>
        <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
    </jsp:text>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:f="http://java.sun.com/jsf/core"  
      xmlns:ui="http://java.sun.com/jsf/facelets"  
      xmlns:c="http://java.sun.com/jsp/jstl/core">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Insert title here</title>
</head>
<body>
<f:view>

test
<f:metadata>
        <f:viewParam name="id" value="#{bowlingEvent.ID}" />
    </f:metadata>

<h:form>
<h:inputText id="id" />
<h:commandButton id="button" value="Spara event" action="update">

</h:commandButton>
</h:form>

</f:view>
</body>
</html>
</jsp:root>

org.apache.jasper.JasperException: /update.jsp (line: 25, column: 13) No tag "metadata" 
defined in tag library associated with uri "http://java.sun.com/jsf/core"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)

questionAnswers(1)

yourAnswerToTheQuestion