フォーラム

ホーム » Liferay IDE » English

構造的に表示 平面上に表示 ツリー上に表示
スレッド数 [ 前へ | 次へ ]
toggle
Abhishek Dhingra
Deploying Liferay EXT using Maven
2012/04/16 4:14
答え

Abhishek Dhingra

ランク: Junior Member

投稿数: 48

参加年月日: 2011/04/07

最近の投稿

Hi All,

I tried to deploy the Liferay EXT using Maven plugin but EXT is not getting properly deployed. I checked and found that even EXT-JAR files are not getting created.

Followed the following below steps:
1) Created new Maven module, with Ext archetype.
2) Post creation, did Maven 'Clean install liferay:deploy'.

On Liferay:deploy, 2 war files are getting created in deploy folder. I tried the Liferay:direct-deploy. but Build Failure message is getting displayed on Console.

Can you please guide me if i missed any steps.Please help me in resolving the same.

Thanks much in advance.

Regards,
Abhishek
Mika Koivisto
RE: Deploying Liferay EXT using Maven
2012/04/16 5:22
答え

Mika Koivisto

LIFERAY STAFF

ランク: Liferay Legend

投稿数: 1336

参加年月日: 2006/08/07

最近の投稿

Do the deploy from the -ext project folder instead of the project root. Invoking deploy from the project root tells maven run this goal to all sub projects and that's not what you want to do.
Abhishek Dhingra
RE: Deploying Liferay EXT using Maven
2012/04/16 23:01
答え

Abhishek Dhingra

ランク: Junior Member

投稿数: 48

参加年月日: 2011/04/07

最近の投稿

Hi Mika,

Thanks much for the reply. I tried the same and deployed only the -ext.war file, but somehow it is not working for me. I think the main issue is when the server will deploy the war, the JAR files under lib folder are not getting created.

I tried the same with ANT , and it is creating the JAR's under lib folder and working fine.

Regards,
Abhishek
Mika Koivisto
RE: Deploying Liferay EXT using Maven
2012/04/18 2:20
答え

Mika Koivisto

LIFERAY STAFF

ランク: Liferay Legend

投稿数: 1336

参加年月日: 2006/08/07

最近の投稿

Can you attach the server log from the point where it starts to process the ext war file?
Miguel Ángel Júlvez
RE: Deploying Liferay EXT using Maven
2012/08/07 2:05
答え

Miguel Ángel Júlvez

ランク: Junior Member

投稿数: 56

参加年月日: 2011/03/29

最近の投稿

It's happening the same thing

Any advice?

Thanks

I'm using liferay 6.1.1.1 CE GA2, liferay maven plugin 6.1.1 and tomcat 7.0.27

Abhishek Dhingra:
Hi Mika,

Thanks much for the reply. I tried the same and deployed only the -ext.war file, but somehow it is not working for me. I think the main issue is when the server will deploy the war, the JAR files under lib folder are not getting created.

I tried the same with ANT , and it is creating the JAR's under lib folder and working fine.

Regards,
Abhishek