Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Guillaume K
Deploying ext to Liferay with Maven
October 30, 2012 2:13 AM

Guillaume K

Rank: New Member

Posts: 11

Join Date: March 6, 2012

Recent Posts

Hi there,

I have my ext project built with maven archetype that looks like that :


I have customize portlet-ext.xml in myproject-liferay-ext-web and i want to deploy my ext.
So in the folder myproject-liferay, i run "mvn package".
Then "mvn liferay:deploy"

And after that, i have in my tomcat/webapp/folders :


Why do i have this myproject-liferay-ext-web-1.0.0.SNAPSHOT ?

What are the correct goals to build and deploy the ext, and from where (which folder ?)
Alexey Melnikov
RE: Deploying ext to Liferay with Maven
December 15, 2012 3:23 AM

Alexey Melnikov

Rank: Regular Member

Posts: 108

Join Date: March 27, 2012

Recent Posts

Found the same problem.

You should execute deploy not from folder with parent pom.xml, here you need call mvn install
liferay:deploy command should be called from -ext folder.

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!