How to download Mojarra JSF nightly builds

三世轮回 提交于 2019-12-05 18:30:36

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" />
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!