« Back to Liferay Faces

Building Liferay Faces From Source

General Instructions #

These instructions have been incorporated into the official Liferay documentation. Refer to the section titled Building Liferay Faces from Source.

Oracle WebLogic 12c (Optional) #

These instructions have been incorporated into the official Liferay documentation. Refer to the sub-section titled Upgrading Mojarra in the Installing Liferay on Oracle WebLogic 12c (12.1.2 and Higher).

Oracle WebLogic 11g (Optional) #

These instructions have been incorporated into the official Liferay documentation. Refer to the second numbered portion of the sub-section titled Configuration for Deploying JSF Portlets on WebLogic 10.3.


See Also:

1 Attachment
17106 Views
Average (1 Vote)
The average rating is 5.0 stars out of 5.
Comments
Threaded Replies Author Date
I was trying to upgrade mojarra version for... Adnan Durrani March 18, 2015 3:24 PM

I was trying to upgrade mojarra version for "Oracle WebLogic 12c" and encountered with an error.

Solution:
I found a typo in one of a pom.xml, and got the problem fixed. Just posting so it may help somebody.

Detail:
I downloaded the zip for 3.2.4-ga5 tag and followed step 1 to 5 listed under "General instruction" everything looked good.

To upgrade the version of Mojarra for weblogic 12c, I got the following error on step 2 listed under "Oracle WebLogic 12c (Optional)".

liferay-faces-3.2.4-ga5\support>mvn -P weblogic clean install

The project com.oracle.weblogic:glassfish.jsf_1.0.0.0_2-1-21:12.1.2-0-
0 (C:\Users\adurrani\Downloads\liferay-faces-3.2.4-ga5\s
upport\weblogic\glassfish-­jsf\pom.xml) has 1 error
Non-resolvable parent POM: Failure to find com.liferay.faces.support
:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in https://repository.lif
eray.com/nexus/content/groups/public was cached in the local repository, resolut
ion will not be reattempted until the update interval of liferay-public has elap
sed or updates are forced and 'parent.relativePath' points at wrong local POM @
line 5, column 10 -> [Help 2]
--

I looked at the pom.xml under : liferay-faces-3.2.4-ga5\support\weblogic\glassfish-jsf and found that it is referencing to a SNAPSHOT version of its parent.
<parent>
<groupId>com.liferay.faces.support</groupId>
<artifactId>li­feray-faces-support-weblogic</artifactId>
<version>3.2.4-ga5-SNAPSHOT</version­>
<relativePath>../pom.xml</relativePath>
</parent>

While the parent(liferay-faces-3.2.4-ga5\support\weblogic\pom.xml) is not a snapshot version, so I just changed the version in liferay-faces-3.2.4-ga5\support\weblogic\glassfish-jsf\pom.xml from:
<version>3.2.4-ga5-SNAPSHOT</version>
to:
<version>3.2.4-ga5</version>

It fixed the problem.

Thanks,
Adnan
Posted on 3/18/15 3:24 PM.