Building my first project for Opendaylight

asked 2017-07-31 11:04:31 -0800

DanielRomero gravatar image

Hello,

This is my first time developing for opendaylight. I was following this tutorial (link text) to make a simple project, specifically Part 1. I have edited the setting.xml file, as it is described in Setup section, and then I have generated the project with this command:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ \
-DarchetypeCatalog=remote -DarchetypeVersion=1.4.0-SNAPSHOT

But when I build the Example Project this is the output:

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.opendaylight.example:example-karaf:0.1.0-SNAPSHOT (/home/daniel/Daniel/example/karaf/pom.xml) points at org.opendaylight.example:example-aggregator instead of org.opendaylight.odlparent:karaf-parent, please verify your project structure @ line 13, column 11
[FATAL] Non-resolvable parent POM for org.opendaylight.example:example-karaf:0.1.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:karaf-parent:pom:2.0.2 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 13, column 11
[FATAL] Non-resolvable parent POM for org.opendaylight.example:example-features:0.1.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:features-parent:pom:2.0.2 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 14, column 11
 @ 
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.opendaylight.example:example-karaf:0.1.0-SNAPSHOT (/home/daniel/Daniel/example/karaf/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.opendaylight.example:example-karaf:0.1.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:karaf-parent:pom:2.0.2 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 13, column 11 -> [Help 2]
[ERROR]   
[ERROR]   The project org.opendaylight.example:example-features:0.1.0-SNAPSHOT (/home/daniel/Daniel/example/features/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.opendaylight.example:example-features:0.1.0-SNAPSHOT: Failure to find org.opendaylight.odlparent:features-parent:pom:2.0.2 in https://nexus.opendaylight.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-mirror has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 14, 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 ...
(more)
edit retag flag offensive close merge delete