掲示板
Liferay 6.2 with Primefaces 5.1
9年前 に William Gosse によって更新されました。
Liferay 6.2 with Primefaces 5.1
Liferay Master 投稿: 533 参加年月日: 10/07/04 最新の投稿
Can someone explain what I need to do in order to update the Primefaces 3.5 version that comes with Liferay 6.2 to Primefaces 5.1.
Thanks
Thanks
9年前 に Neil Griffin によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Hi Bill,
If your PrimeFaces portlets were developed using the Liferay Plugins SDK, then you can simply change the version of PrimeFaces to 5.1 in the ivy.xml descriptor of each portlet WAR project. If it was developed with Maven, then you can change the version in the pom.xml descriptor. Also, the portlet WARs would need to be rebuilt and redeployed. Before re-deploying, I recommend shutting down the app server and deleting the old deployment. That will ensure that you don't get two copies of primefaces.jar in the deployment.
I also wanted to mention that we released a group of patches for Liferay Faces GA5, a few of which pertain to supporting PrimeFaces 5.x.
Kind Regards,
Neil
If your PrimeFaces portlets were developed using the Liferay Plugins SDK, then you can simply change the version of PrimeFaces to 5.1 in the ivy.xml descriptor of each portlet WAR project. If it was developed with Maven, then you can change the version in the pom.xml descriptor. Also, the portlet WARs would need to be rebuilt and redeployed. Before re-deploying, I recommend shutting down the app server and deleting the old deployment. That will ensure that you don't get two copies of primefaces.jar in the deployment.
I also wanted to mention that we released a group of patches for Liferay Faces GA5, a few of which pertain to supporting PrimeFaces 5.x.
Kind Regards,
Neil
9年前 に William Gosse によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
Liferay Master 投稿: 533 参加年月日: 10/07/04 最新の投稿
Thanks Neil!
9年前 に Neil Griffin によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
It was my pleasure Bill. It is always good to hear from you, and thanks so much for being such a faithful member of the community all these years
9年前 に William Gosse によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
Liferay Master 投稿: 533 参加年月日: 10/07/04 最新の投稿
I was actually out of Liferay development all last year, but now I'm back and happy to be!
8年前 に Mihai Ocneanu によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
New Member 投稿: 1 参加年月日: 15/07/31 最新の投稿Neil Griffin:
If your PrimeFaces portlets were developed using the Liferay Plugins SDK, then you can simply change the version of PrimeFaces to 5.1 in the ivy.xml descriptor of each portlet WAR project.
Hi Neil,
I'm trying to achieve the same thing as the OP.
If I go ahead and change the ivy.xml from
<dependency name="org.primefaces.primefaces" org="com.liferay" rev="3.5" />
into
<dependency name="org.primefaces.primefaces" org="com.liferay" rev="5.1" />
I get errors at build, as the library is not found:
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: com.liferay#org.primefaces.primefaces;5.1
[ivy:resolve] ==== local-m2: tried
[ivy:resolve] file://C:\Users\mihai/.m2/repository/com/liferay/org.primefaces.primefaces/5.1/org.primefaces.primefaces-5.1.pom
[ivy:resolve] -- artifact com.liferay#org.primefaces.primefaces;5.1!org.primefaces.primefaces.jar:
[ivy:resolve] file://C:\Users\mihai/.m2/repository/com/liferay/org.primefaces.primefaces/5.1/org.primefaces.primefaces-5.1.jar
[ivy:resolve] ==== liferay-public: tried
[ivy:resolve] http://cdn.repository.liferay.com/nexus/content/groups/public/com/liferay/org.primefaces.primefaces/5.1/org.primefaces.primefaces-5.1.pom
[ivy:resolve] -- artifact com.liferay#org.primefaces.primefaces;5.1!org.primefaces.primefaces.jar:
[ivy:resolve] http://cdn.repository.liferay.com/nexus/content/groups/public/com/liferay/org.primefaces.primefaces/5.1/org.primefaces.primefaces-5.1.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: com.liferay#org.primefaces.primefaces;5.1: not found
What am I doing wrong here?...
Thanks,
Mihai
8年前 に Andrea Pravato によって更新されました。
RE: Liferay 6.2 with Primefaces 5.1
New Member 投稿: 3 参加年月日: 13/05/01 最新の投稿
Good information on how to use Ivy are here: http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html
Primefaces 5.2 can be found at this link in Maven repository: http://mvnrepository.com/artifact/org.primefaces/primefaces/5.2
In this case the needed code (Mihai already solved; we are colleagues) is this: <dependency name="primefaces" org="org.primefaces" rev="5.2" />
Primefaces 5.2 can be found at this link in Maven repository: http://mvnrepository.com/artifact/org.primefaces/primefaces/5.2
In this case the needed code (Mihai already solved; we are colleagues) is this: <dependency name="primefaces" org="org.primefaces" rev="5.2" />