Hi,

I was trying to build carbon with the following folder structure.

.
├── kernel
│   └── 4.2.0
├── orbit
│   └── trunk
└── platform
    └── turing

However when a build was started on orbit/trunk the following error
occurred.

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project
org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1
(/home/chamilad/dev/source/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:carbon-dependents:pom:4.0.0 in central (
http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at
wrong local POM @ line 22, column 13 -> [Help 2]
[ERROR]


I was able to fix this by changing the relativePath to the
carbon-dependents pom.


Index: jdbc-pool/pom.xml
===================================================================
--- jdbc-pool/pom.xml    (revision 206122)
+++ jdbc-pool/pom.xml    (working copy)
@@ -22,8 +22,8 @@
     <parent>
         <groupId>org.wso2.carbon</groupId>
         <artifactId>carbon-dependents</artifactId>
-        <version>4.0.0</version>
-    <relativePath>../../../pom.xml</relativePath>
+        <version>4.2.0</version>
+
<relativePath>../../../platform/turing/dependencies/pom.xml</relativePath>
    </parent>

     <modelVersion>4.0.0</modelVersion>



-- 

Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to