Forums de discussion

portlet maven archetype

Eric Soucy, modifié il y a 10 années.

portlet maven archetype

New Member Publications: 14 Date d'inscription: 09/10/08 Publications récentes
Hello
at this moment, the latest prime faces portlet archetype available seems to be :
com/liferay/maven/archetypes/liferay-portlet-primefaces-archetype/6.2.0-RC5
It uses primefaces 3.5

Will there be an update to this archetype in alignment with the soon to be released Liferay-faces 3.2.4-ga5 project and also using primefaces 4.0?
Is there a version of this updated archetype already available somewhere ? (other than http://repo1.maven.org/) ?

Or can I use the demo primefaces4-portlet from Liferay-faces 3.2.4-ga5 as a model to build my own archetype ?


Thank you
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: portlet maven archetype

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Hi Eric,

Currently the Liferay Portal 6.2 CE GA1 artifacts are not in Maven Central. Instead they can be found at https://repository.liferay.com/nexus/content/groups/public

We have a PrimeFaces Portlet Archetype that is setup to use Liferay Faces 3.2.4-ga5 (which we are working on releasing at this time). The archetype uses PrimeFaces 3 because PrimeFaces 4 wasn't available at the time we setup the archetype.

So I would recommend that you use the PrimeFaces Portlet Archetype but simply change the <version> of PrimeFaces to 4.0 in the generated pom.xml descriptor.

Kind Regards,

Neil