You can get the daily snapshot in flavor of loose library, sources and javadoc JAR files from here:
Just open the folder to see the JARs (currently, it's 2.2.4-SNAPSHOT/
). Please note that there's no single javax.faces.jar
flavor, you really need those two loose JAR files together.
If you happen to use Maven, here are the repository and dependency coordinates:
<repository>
<id>jvnet-nexus-snapshots</id>
<name>jvnet-nexus-snapshots</name>
<url>https://maven.java.net/content/repositories/snapshots/</url>
</repository>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.2.X-SNAPSHOT</version>
</dependency>
(where you need to substitute the X
with the desired sub-version yourself, which is currently thus 4
)
See also:
Update: as to upgrading GlassFish, in order to upgrade GlassFish 3/4 whereby the single javax.faces.jar
is been replaced with the two jsf-api.jar
and jsf-impl.jar
files, don't forget to edit the /domains/[domainname]/config/default-web.xml
accordingly to replace the single JAR entry by the two JAR entries in system-jar-includes
initialization parameter.
An alternative is to bundle the JARs in webapp's /WEB-INF/lib
and tell GlassFish to use webapp-bundled JSF instead of its own bundled JSF by adding the following lines to /WEB-INF/glassfish-web.xml
:
<class-loader delegate="false" />
<property name="useBundledJsf" value="true" />