Blogs
On March 1, 2014 Liferay released the 1st Milestone of Liferay Faces 4.x:
| Liferay Faces 4.2.0-m1 | JSF 2.2 + Liferay Portal 6.2 *NEW* | Release Notes |
| Liferay Faces 4.1.0-m1 | JSF 2.1 + Liferay Portal 6.1 *NEW* | Release Notes |
Download Instructions
Since the 4.2.0-m1 and 4.1.0-m1 releases are not General Availability (GA), the JAR artifacts are *not* published at Maven Central. Instead, they are published at the new Liferay Previews Nexus Repository along with the demo portlets.
Maven Project Dependencies
<dependencies>
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>liferay-faces-alloy</artifactId>
<version>4.2.0-m1</version>
</dependency>
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>liferay-faces-bridge-impl</artifactId>
<version>4.2.0-m1</version>
</dependency>
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>liferay-faces-portal</artifactId>
<version>4.2.0-m1</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>liferay-previews</id>
<url>
https://repository.liferay.com/nexus/content/repositories/liferay-previews
</url>
</repository>
</repositories>
Ivy Project Dependencies
<dependencies>
<dependency org="com.liferay.faces" name="liferay-faces-alloy" rev="4.2.0-m1" />
<dependency org="com.liferay.faces" name="liferay-faces-bridge-impl" rev="4.2.0-m1" />
<dependency org="com.liferay.faces" name="liferay-faces-portal" rev="4.2.0-m1" />
</dependencies>
...
<resolvers>
<ibiblio m2compatible="true" name="liferay-previews"
root="https://repository.liferay.com/nexus/content/repositories/liferay-previews" />
</resolvers>
Version Scheme
Please refer to the Liferay Faces Version Scheme wiki article for a detailed explanation of the version numbering.
Stability
This 4.x M1 release is based off the stable codebase of the 3.x GA5 release. The main difference is support for JSF 2.2 and new demo portlets (see below). This M1 (Milestone) release is suitable for development purposes, however 4.x will not be supported under the Liferay EE subscription until it reaches GA (General Availability) status.
Support For JSF 2.2
-
This is the first release of Liferay Faces that is compatible with JSF 2.2
-
If deploying portlets to Liferay Portal 6.2, then developers should read the new Migrating From Liferay Faces 3.1 to Liferay Faces 3.2/4.2 section in the Developer's Guide. Specifically, JSF portlets require the following option in the WEB-INF/liferay-portlet.xml descriptor:
<requires-namespaced-parameters>false</requires-namespaced-parameters>
Tomcat 7 Only
JSF 2.2 Component Suites
JSF 2.2 Feature Demos
- jsf2-flows-portlet (source) (Liferay Portal 6.2 WAR) (Liferay Portal 6.1 WAR)
- jsf2-html5-portlet (source) (Liferay Portal 6.2 WAR) (Liferay Portal 6.1 WAR)
Roadmap
Feedback Requested
If you find any problems with this release, please post a message in the Liferay Faces forums.

