掲示板

liferayfaces vs maven plugin versions

10年前 に Eric Soucy によって更新されました。

liferayfaces vs maven plugin versions

Junior Member 投稿: 65 参加年月日: 14/01/21 最新の投稿
Hi,
I noted that in the test/demos provided in the 3.2.4-ga5 release you are depending upon the following:
<liferay.version>6.2.0-ga1</liferay.version>
<liferay.maven.plugin.version>6.2.0-ga1</liferay.maven.plugin.version>

We are using the liferay 6.2 enterprise release and I'm seeing that there also exists artifacts with versions :
portal-*-6.2.10-GA1
and
6.2-ee-sp1 for the maven support and archetypes.


for my jsf portlets projects, should I keep using 6.2.0-ga1 for the liferay and maven plugin version ?
it's a little confusing that there are so may versions out there...

Thanks
thumbnail
10年前 に Neil Griffin によって更新されました。

RE: liferayfaces vs maven plugin versions

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Hi Eric,

When we do a release, the Liferay Faces jar and war artifacts are always built using dependencies from CE edition of Liferay Portal. For example, in the case of Liferay Faces 3.2.4-ga5, we built the source using dependencies from Liferay Portal API like portal-service-6.2.0-ga1.jar. The parts of the Liferay Portal API that Liferay Faces uses is the same for Liferay Portal CE and Liferay Portal EE.

When we do testing, we first test against Liferay Portal CE, and then again with Liferay Portal EE.

So I would recommend that you do the same in your projects by specifying liferay.version=6.2.0-ga1. In other words, compile your portlet WAR projects with the Liferay Portal CE API dependencies, and test them in Liferay Portal EE. The Maven Archetypes should be identical between CE and EE, so I would recommend that you use liferay.maven.plugin.version=6.2.0.ga1 as well for simplicity.

The only exceptions would be:
1) If you find that you are using parts of the Liferay Portal EE API that differs from the Liferay Portal CE API.
2) If you find that the liferay-maven-support EE version has a bugfix that you need that is not included in the CE version.

Kind Regards,

Neil
10年前 に Gunnar Brinkmann によって更新されました。

RE: liferayfaces vs maven plugin versions

Junior Member 投稿: 53 参加年月日: 11/12/02 最新の投稿
Hi Neil,

Neil Griffin:

The only exceptions would be:
1) If you find that you are using parts of the Liferay Portal EE API that differs from the Liferay Portal CE API.
2) If you find that the liferay-maven-support EE version has a bugfix that you need that is not included in the CE version.


I'm currently starting development for 6.2 ee sp1.

Dependencies are atm:

server installation 6.2-ee-sp1
liferay maven plugin 6.2-ee-sp1

But my "liferay.version" is still set with 6.2.10-GA1 (for versioning artifacts like portal-service, util-bridges, ...)

Is this right?

btw: An overview page would be helpful, reflecting something like a "current dependency matrix".

Regards,
Gunnar
thumbnail
10年前 に Neil Griffin によって更新されました。

RE: liferayfaces vs maven plugin versions

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Hi Gunnar,

I would recommend that you set the version for artifacts like portal-service, util-bridges, etc. to 6.2.0-ga1. The Liferay Portal core engineering team is aware of these questions regarding version numbering and we are planning a better system for the next major release of the portal.

Kind Regards,

Neil
10年前 に Gunnar Brinkmann によって更新されました。

RE: liferayfaces vs maven plugin versions

Junior Member 投稿: 53 参加年月日: 11/12/02 最新の投稿
Hi Neil,

ok, thank you for your feedback.

Regards,
Gunnar