Hi Chamila, What's the svn location of this jdbc-pool bundle? Your folder structure doesn't look like the standard structure we have. The parent of this orbit bundle should rather be the orbit parent.
KasunG On Tue, Jul 29, 2014 at 11:34 AM, Chamila De Alwis <[email protected]> wrote: > 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 > > -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
