Foros de discusión

Liferay 7.0 and archetypes

Karen Bellware, modificado hace 7 años.

Liferay 7.0 and archetypes

New Member Mensajes: 9 Fecha de incorporación: 1/03/17 Mensajes recientes
Hi, I'm a student and sadly my college is using a Liferay 6.x book for a current class and, as we know, the current version is 7.0.

I have no other choice but to follow this books guidance, but I'm finding more and more that so many things changed from 6.0 to 7.0 and I really need help!

I'm told to run the following:
mvn archetype:generate -Dfilter-liferay-portlet-archetype
choose number 1 for com.kiferay.maven.archetypes:liferay-portlet-archetype
choose number 24 for choose the correct Liferay version

Then for defining values:
groupId: com.pactpub.portlet
artifactId: first-portlet
version: 1.0-SNAPSHOT
package: com.pactpub.portlet

However, I'm pretty sure these are outdated and may not even work on Liferay 7.0.

Can anyone direct me to the right values and version numbers?

Thank you!!!
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Liferay 7.0 and archetypes

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Karen Bellware, modificado hace 7 años.

RE: Liferay 7.0 and archetypes

New Member Mensajes: 9 Fecha de incorporación: 1/03/17 Mensajes recientes
David H Nebinger:
Check out the maven blade samples: https://github.com/liferay/liferay-blade-samples/tree/master/maven


Thank you David for the link. I did look through them, but I have no idea what to do from there. Should I just pick one, replace my pom with that one and run the mvn liferay:deploy?

Thanks again.