karaf4 migration


Lalit.Gera@...
 

Hi

I followed guide "https://wiki.opendaylight.org/view/Karaf_4_Migration_Guide", but while building I am getting below error.

[INFO] Scanning for projects...
[ERROR] The build could not read 4 projects -> [Help 1]
[ERROR]
[ERROR] The project org.opendaylight.lacp:lacp-parent:1.3.0-SNAPSHOT (/home/odluser/odl_lacp/lacp/parent/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.8.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.lacp.main:lacp.main:1.3.0-SNAPSHOT (/home/odluser/odl_lacp/lacp/lacp-main/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.lacp:lacp-parent:1.3.0-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.8.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ org.opendaylight.lacp:lacp-parent:1.3.0-SNAPSHOT, /home/odluser/odl_lacp/lacp/parent/pom.xml, line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ttp:features-aggregator:0.4.0-SNAPSHOT (/home/odluser/odl_lacp/lacp/features/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.opendaylight.odlparent:odlparent-lite:pom:1.8.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 3, column 12 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.lacp:distribution-karaf:1.3.0-SNAPSHOT (/home/odluser/odl_lacp/lacp/distribution/karaf/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.opendaylight.odlparent:karaf-parent:pom:1.8.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I added the below lines as mentioned in guide.
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
<version>1.8.0-SNAPSHOT</version>
<relativePath/>
</parent

Could you please help here, do something missed in guide?

Regards,
Lalit