Hi folks, Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) / Linux
My project structure is similar to, Carbon-Parent.pom \____ orbit-bundles.pom (this has several modules) \____ service-stubs.pom (this has several modules) * modules in Both projects orbit-bundles and service-stubs have Carbon-Parent.pom as the root pom. I have set the <relativePath> of the parent pom in each of the sub-projects. So that a module located in orbit refers orbit-bundles.pom as the parent pom and that in turn refers carbon-parent.pom as its parent. * modules in service-stubs has maven dependency to some modules under orbit-bundles. The build works fine with Maven3 one i build my project from the root pom (Carbon-Parent.pom). But when i try to build sub-projects one by one (that is orbit sub project and service-stub sub project), It fails with following error. [ERROR] Non-resolvable parent POM for org.wso2.carbon:service-stubs:3.2.0-SNAPSHOT: Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT @ org.wso2.carbon:service-st ubs:3.2.0-SNAPSHOT, C:\Users\Samisa Abeysinghe\.m2\repository\org\wso2\carbon\service-stubs\3.2.0-SNAPSHOT\service-stubs-3.2.0-SNAPSHOT.pom, line 20, column 13 -> [Help 2] Sorry for the confusing jargon. I could not explain the scenario with Project A and Project B, etc. Both the above scenarios works with Maven2. This is just happens when im using maven3. Thanks, --Pradeep