Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2012-01-17 Thread Buddhika Chamith
We can use -N option to skip building sub projects. -N,--non-recursive Do not recurse into sub-projects Regards Buddhika On Tue, Jan 17, 2012 at 7:06 PM, KasunG Gajasinghe wrote: > > > On Tue, Jan 17, 2012 at 6:21 PM, Subash Chaturanga wrote: > >> Hi , >> Today i got a full trunk update and go

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2012-01-17 Thread Lahiru Sandaruwan
Got the same error. Building from root solved the problem. On Tue, Jan 17, 2012 at 7:20 PM, Afkham Azeez wrote: > If pom relative paths are properly defined, you will not see this error > > -- > Afkham Azeez > Sent from my phone > > On Jan 17, 2012 6:36 PM, "KasunG Gajasinghe" wrote: >> >> >> >>

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2012-01-17 Thread KasunG Gajasinghe
On Tue, Jan 17, 2012 at 6:21 PM, Subash Chaturanga wrote: > Hi , > Today i got a full trunk update and got a build failure when building > service stubs which is $subject . > Hi Subash, The conclusion we came up was that either trunk should be built from root, or you need to manually copy the ca

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2012-01-17 Thread Subash Chaturanga
Hi , Today i got a full trunk update and got a build failure when building service stubs which is $subject . Here is the error log. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.972s [INFO] Finished at: Tue Jan 17 17:55:5

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kathiravelu Pradeeban
On Wed, Dec 7, 2011 at 1:20 AM, Keheliya Gallaba wrote: > > > On Wed, Dec 7, 2011 at 1:08 AM, Kasun Gajasinghe wrote: > >> >> >> On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka wrote: >> >>> Hi Guys, >>> >>> I could build service stubs other than *org.wso2.carbon.stratos.common.stub >>> *and

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Keheliya Gallaba
On Wed, Dec 7, 2011 at 1:08 AM, Kasun Gajasinghe wrote: > > > On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka wrote: > >> Hi Guys, >> >> I could build service stubs other than *org.wso2.carbon.stratos.common.stub >> *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. >> >> The error

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kasun Gajasinghe
On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka wrote: > Hi Guys, > > I could build service stubs other than *org.wso2.carbon.stratos.common.stub > *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. > > The error message i get when i'm > building org.wso2.carbon.stratos.common.stub

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Suresh Attanayaka
Hi Guys, I could build service stubs other than *org.wso2.carbon.stratos.common.stub *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. The error message i get when i'm building org.wso2.carbon.stratos.common.stub is: "The parents form a cycle: org.wso2.carbon:org.wso2.carbon.stratos.

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Muhammed Shariq
Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue?

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kasun Gajasinghe
On Tue, Dec 6, 2011 at 3:18 PM, Kishanthan Thangarajah wrote: > Hi, > > On Tue, Dec 6, 2011 at 3:05 PM, Muhammed Shariq wrote: > >> Building from the carbon root should add the platform pom to the m2 repo >> .. >> > > Yes, but we couldn't build carbon from root. So, had to build the top-level sub

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kasun Gajasinghe
On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody wrote: > Hi, > > As a workaround for this you can copy the carbon-platform pom from > carbon/components in to your m2 repo. > > Go to carbon/components and copy the pom to m2 repo in the following > manner. > > cp pom.xml > ~/.m2/repository/org/ws

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Dileepa Jayakody
Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner. cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kishanthan Thangarajah
Hi, On Tue, Dec 6, 2011 at 3:05 PM, Muhammed Shariq wrote: > Building from the carbon root should add the platform pom to the m2 repo > .. > With maven3, can we build the trunk from carbon root pom for the first time with fresh repo? Thanks, Kishanthan. > > On Tue, Dec 6, 2011 at 2:49 PM, Kas

Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Muhammed Shariq
Building from the carbon root should add the platform pom to the m2 repo .. On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe wrote: > Hi, > > I faced the following issue when building carbon/service-stubs/ with Maven > 3.0.3, and a fresh repo. The log is given below. This error is not produced >

[Carbon-dev] Build failure in service-stubs/ under Maven 3

2011-12-06 Thread Kasun Gajasinghe
Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround