Showing posts with label Frequently. Show all posts
Showing posts with label Frequently. Show all posts

Monday, July 29, 2013

Frequently Needed Maven commands in Liferay :






Steps To Generate Portlet : mvn archetype:generate
(then select appropriate  options by searching liferay )



Steps To Deploy Portlet* : mvn clean install -Dliferay.auto.deploy.dir=(Path of Liferay Deploy Directory)

To Create the War file* : mvn clean package


To install some dependencies jar* : mvn install:install-file -Dfile=D:\jar\util-taglib.jar -DgroupId=com.liferay.portal -DartifactId=util-taglib -Dversion=6.1.20 -Dpackaging=jar
 (DO THIS FOR ALL THE MISSING JARS REQUIRED ,you need to put first manually these jar in some folder(this case D:\jar\ ) than install using above command)


* Need to run all these command from the pom.xml path of the portlet