Fórum

I'm using Liferay...

thumbnail
Andreas Lecerof, modificado 7 Anos atrás.

I'm using Liferay...

Junior Member Postagens: 36 Data de Entrada: 14/02/13 Postagens Recentes
I'm using Liferay 6.2 with maven.
When I run 'mvn archetype:generate -Dfilter=liferay:portlet' and choose mvc portlet:
Choose archetype:
1: remote -> com.liferay:com.liferay.project.templates.mvc.portlet (Liferay Project Templates MVC Portlet)

the resulting class is annotated with @Component and I get bnd.bnd file and build.gradle etc.
It seems that in some way I am using Liferay's maven plugin for 7.0 but I want to use the plugin for 6.2.
I haven't made any configuration changes in my maven settings (setting.xml).

How can I specify that I want a plugin for Liferay 6.2?
thumbnail
Pankaj Kathiriya, modificado 7 Anos atrás.

RE: I'm using Liferay...

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Would you please check pom.xml under plugins to verify which liferay version is mentioned there?
thumbnail
Andreas Lecerof, modificado 7 Anos atrás.

RE: I'm using Liferay...

Junior Member Postagens: 36 Data de Entrada: 14/02/13 Postagens Recentes
<liferay.version>6.2.10-GA1</liferay.version>
<liferay.maven.plugin.version>6.2-ee-sp1-UU140214</liferay.maven.plugin.version>
thumbnail
Pankaj Kathiriya, modificado 7 Anos atrás.

RE: I'm using Liferay...

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Hmm..I tried it and even I am facing same. Its creating Class with @Component annotation and bnd.bnd and build.gradle file..It was not the case couple of months back emoticon