Fórumok

A single Maven project for both Theme and Layout Template ?

thumbnail
Sebastien Prunier, módosítva 10 év-val korábban

A single Maven project for both Theme and Layout Template ?

New Member Bejegyzések: 8 Csatlakozás dátuma: 2013.08.22. Legújabb bejegyzések
Hi everyone !

I'm currently developing a Theme and a Layout template for Liferay 6.1.1.
I'm using Maven for the build of these two projects (I created them with the available archetypes).

My question is : is it possible to merge the two projects into a single one (so that the Maven build produces a single WAR for the Theme and the Layout Template) ?
I think I cannot do that because there's only one possible "type" in the plugin configuration :
<plugintype>theme</plugintype>
or
<plugintype>layouttpl</plugintype>

But perhaps I'm wrong :-)

Thanks in advance for your answers !
Regards,
Sébastien
thumbnail
Mika Koivisto, módosítva 10 év-val korábban

RE: A single Maven project for both Theme and Layout Template ?

Liferay Legend Bejegyzések: 1519 Csatlakozás dátuma: 2006.08.07. Legújabb bejegyzések
In that case I would use the theme plugin type. That is really only used by direct-deploy and build-db. The ThemeDeployer does everything LayoutTemplateDeployer does in case of direct-deploy and there's no distinction also in build-db. You should also base your project from liferay-theme-archetype.
thumbnail
Sebastien Prunier, módosítva 10 év-val korábban

RE: A single Maven project for both Theme and Layout Template ?

New Member Bejegyzések: 8 Csatlakozás dátuma: 2013.08.22. Legújabb bejegyzések
Thanks for your help !