Forums

Home » Liferay Portal » English » 3. Development

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

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 :

myproject-liferay
[_myproject-liferay-ext
[_myproject-liferay-ext-impl
[_myproject-liferay-ext-lib-global
[_myproject-liferay-ext-lib-portal
[_myproject-liferay-ext-service
[_myproject-liferay-ext-util-bridges
[_myproject-liferay-ext-util-java
[_myproject-liferay-ext-util-taglib
[_myproject-liferay-ext-web
pom.xml

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 :

myproject-liferay-ext
myproject-liferay-ext-web-1.0.0.SNAPSHOT

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
Answer

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.