Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Fix Version/s: 4.4
-
Component/s: Sample Apps
-
Labels:None
-
Environment:pluto
-
Support Case References:
Description
when deploying showcase portlet example app to pluto 2.0.3, resource issues arose for ace:dynamicResource, ace:fileEntry and other resource loading issues.
Since liferay has replaced the jar referred to by:-
<dependency>
<groupId>org.portletfaces</groupId>
<artifactId>portletfaces-bridge</artifactId>
<version>2.0.3</version>
</dependency>
the maven pom and ant build scripts require modification to use instead the following:-
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>com.liferay.faces.bridge.api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>com.liferay.faces.bridge.impl</artifactId>
<version>3.1.0</version>
</dependency>
.....
these jars are available on maven central
http://central.maven.org/maven2/com/liferay/faces/com.liferay.faces.bridge.api/3.1.0/
for example.
Since liferay has replaced the jar referred to by:-
<dependency>
<groupId>org.portletfaces</groupId>
<artifactId>portletfaces-bridge</artifactId>
<version>2.0.3</version>
</dependency>
the maven pom and ant build scripts require modification to use instead the following:-
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>com.liferay.faces.bridge.api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>com.liferay.faces</groupId>
<artifactId>com.liferay.faces.bridge.impl</artifactId>
<version>3.1.0</version>
</dependency>
.....
these jars are available on maven central
http://central.maven.org/maven2/com/liferay/faces/com.liferay.faces.bridge.api/3.1.0/
for example.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
note also that the showcase portlet.xml must be modified from using
<portlet-class>org.portletfaces.bridge.GenericFacesPortlet</portlet-class>
for each portlet defined to
<portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
Ken to discuss with Neil if the above mentioned liferay release jars (3.1.0 from Sept 2017 and those links) are avialable somewhere on a maven repo that can be accessed without downloading the jars and installing locally.
The maven "pluto" and "portletfaces" profiles are both affected. Also the version of the liferay jars must be also updated in the poms. The ant scripts also require updating.