Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rahul Saraswat
Service Builder with Maven
January 9, 2013 7:15 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

Hi Friends,

I am new to Liferay. I need to use service builder with maven. I searched internet to get something usefull but I get the tutorials which use ant. So, can any one please share some tutorial for Service builder using maven.

I am using Liferay-portal 6.1.1.

Thanks & Regards
Rahul Saraswat
David H Nebinger
RE: Service Builder with Maven
January 9, 2013 10:21 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 4496

Join Date: September 1, 2006

Recent Posts

Maybe you didn't get the message but maven support in liferay is still very new (and untested, I believe).

You're going to suffer from some serious headaches banging your head up against the wall trying to use maven w/ SB.

Your best bet is to stick with ant...
Mika Koivisto
RE: Service Builder with Maven
January 9, 2013 2:26 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1325

Join Date: August 7, 2006

Recent Posts

If you are new to Liferay and maven you should stick with the ant based plugins sdk for now.
Rahul Saraswat
RE: Service Builder with Maven
January 10, 2013 1:59 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

I guess there would be some document for it because we just need to build the project to generate the helper classes for DB. I tried building the project using maven but it asks for some dependencies to be resolved in the pom.xml. And surprisingly one of the dependencies is the jar file of the project itself. I tried inserting the jar manually as well but unfortunately it doesn't work and shows the same message. Can someone please help!!

Thanks & Regards
Rahul Saraswat
India
Rahul Saraswat
RE: Service Builder with Maven
January 10, 2013 7:26 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

I was just going through internet and I found something interesting i.e. Maven SDK. Can we use it for the same?
If yes can anyone please share a tutorial for it with service builder.
Thanks in advance.

Thanks & Regards
Rahul Saraswat
Ajeet Singh
RE: Service Builder with Maven
January 10, 2013 8:04 AM
Answer

Ajeet Singh

Rank: New Member

Posts: 11

Join Date: March 27, 2012

Recent Posts

Maven SDK have not been made smart enough yet in respect of service builder. Hence i will suggest that to create and all the portlets or service builder is to use ant only.

You can use the Maven to build and deploy the whole portal i.e. to create the war.

Regards,
Ajeet Singh
Rahul Saraswat
RE: Service Builder with Maven
January 16, 2013 3:48 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

Thanks a lot Ajeet. I will try to do the same. Cheers!!
David H Nebinger
RE: Service Builder with Maven
January 16, 2013 5:48 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 4496

Join Date: September 1, 2006

Recent Posts

Both Mika and myself said the same thing immediately after the initial posting, but you credit Ajeet for giving you the same answer? How's that work?
Rahul Saraswat
RE: Service Builder with Maven
January 17, 2013 1:39 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

I am sorry for that. I was stuck with some serious issues so was not able to.

Thanks & Regards
Rahul Saraswat
Rahul Saraswat
RE: Service Builder with Maven
January 17, 2013 1:41 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

Thanks for your help David.
Rahul Saraswat
RE: Service Builder with Maven
January 17, 2013 1:42 AM
Answer

Rahul Saraswat

Rank: New Member

Posts: 18

Join Date: January 9, 2013

Recent Posts

Thanks for your help Mika.