I have 4 Modules (4 POM XML files ) and one parent XML file
I have this directory structure , please refer to the screen shot
http://postimage.org/image/1gjk3mdg/
Currently this error is occuring when i ran the Parent POM.xml file (which internally runs all the Module's POM xml files)
The project com.bayer:tata-mw:1.0 (C:\tata\middleware\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact com.bayer:tata:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 9, column 12 -> [Help 2]
To resolve the Parent POM error i am refering like this on to my child POM.xml file
<parent>
<groupId>com.bayer</groupId>
<artifactId>tata</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>c:/tata/pom.xml</relativePath>
</parent>
Please guide me whether this is correct approach or not , becuase when i did that the error still persists .
Thank you .