In this page, you will found how to install the Liferay delivery and the Liferay plugin into your Maven repository.
Download the install files
- liferay-portal-maven-6.X.X.zip from http://sourceforge.net/projects/lportal/files/Liferay%20Portal/
- liferay-maven-support-6.X.X.zip from http://mvnrepository.com/artifact/com.liferay.maven/maven-support
Use the same version to your Liferay portal. It's possible to have different version into your Maven repository.
Install the Liferay delivery
- unzip liferay-portal-maven-6.X.X.zip
- To install the Liferay artifact into your Maven repository, run in a dos command:
You will found the Liferay artifact into your Maven repository
Install the Liferay plugin and archetypes for Maven
- unzip liferay-maven-support-6.X.X.zip
- To install, run in a dos command:
You will found the Liferay plugin into your Maven repository
Check the installation
to check the installation, run in a dos command:mvn archetype:generate
You will have, may be with different numbers:
59:
local -> com.liferay.maven.archetypes:liferay-ext-archetype
(Provides an archetype to create Liferay extensions.)
60:
local -> com.liferay.maven.archetypes:liferay-hook-archetype
(Provides an archetype to create Liferay hooks.)
61:
local -> com.liferay.maven.archetypes:liferay-layouttpl-archetype
(Providesan archetype to create Liferay layout templates.)
62:
local -> com.liferay.maven.archetypes:liferay-portlet-archetype
(Provides an archetype to create Liferay portlets.)
63:
local -> com.liferay.maven.archetypes:liferay-portlet-icefaces-archetype
(Provides an archetype to create Liferay ICEfaces portlets.)
64:
local -> com.liferay.maven.archetypes:liferay-portlet-jsf-archetype
(Provides an archetype to create Liferay JSF portlets.)
65:
local -> com.liferay.maven.archetypes:liferay-portlet-liferay-faces-alloy-archetype
(Provides an archetype to create Liferay Faces Alloy portlets.)
66:
local -> com.liferay.maven.archetypes:liferay-portlet-primefaces-archetype
(Provides an archetype to create Liferay PrimeFaces portlets.)
67:
local -> com.liferay.maven.archetypes:liferay-portlet-richfaces-archetype
(Provides an archetype to create Liferay RichFaces portlets.)
68:
local -> com.liferay.maven.archetypes:liferay-servicebuilder-archetype
(Provides an archetype to create Liferay Service Builder portlets.)
69:
local -> com.liferay.maven.archetypes:liferay-theme-archetype
(Provides an archetype to create Liferay themes.)
70:
local -> com.liferay.maven.archetypes:liferay-web-archetype
(Provides an archetype to create Liferay webs.)
Choose
a number or apply filter (format: [groupId:]artifactId, case sensitive
contains): 16:
Hello,
ReplyDeletewhat do you think about this maven plugin installation :
http://www.liferay.com/video?title=video-web-event-simplify-liferay-build-processes-with-maven-plugin
Thank you
David