Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

yangtools-artifacts couldn't be resolved

Hi,

Totally new to opendaylight. I followed the steps on the wiki to:

  • create an account.
  • new fedora vm
  • installed java (1.8) and maven (3.2)
  • pulled code (git clone ssh://<username>@git.opendaylight.org:29418/controller.git)
  • inside controller/opendaylight I do not see any "distribution" directory
  • updated the ~/.m2/settings.xml file per the instructions to reflect opendaylight mirror information for maven
  • I simply did "mvn clean install" from the controller directory and I see a lot of errors.

I would appreciate any pointers.

[harnan@localhost controller]$ ls features karaf NOTICE pom.xml itests LICENSE opendaylight README.OPENDAYLIGHT

[harnan@localhost controller]$ mvn -v Apache Maven 3.2.2 (NON-CANONICAL2014-06-19T11:19:24mockbuild; 2014-06-19T04:19:24-07:00) Maven home: /usr/share/maven Java version: 1.8.025, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x8664/jre Default locale: enUS, platform encoding: UTF-8 OS name: "linux", version: "3.17.4-301.fc21.x8664", arch: "amd64", family: "unix"

[harnan@localhost controller]$ mvn clean install [INFO] Scanning for projects... [ERROR] The build could not read 90 projects -> [Help 1] [ERROR]
[ERROR] The project org.opendaylight.controller:sal-parent:1.2.0-SNAPSHOT (/home/harnan/opendaylight/controller/opendaylight/md-sal/pom.xml) has 1 error [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.yangtools:yangtools-artifacts:pom:0.7.0-SNAPSHOT @ org.opendaylight.controller:commons.opendaylight:1.5.0-SNAPSHOT, /home/harnan/opendaylight/controller/opendaylight/commons/opendaylight/pom.xml, line 1239, column 19 -> [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:config-subsystem:0.3.0-SNAPSHOT (/home/harnan/opendaylight/controller/opendaylight/config/pom.xml) has 1 error [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.yangtools:yangtools-artifacts:pom:0.7.0-SNAPSHOT @ org.opendaylight.controller:commons.opendaylight:1.5.0-SNAPSHOT, /home/harnan/opendaylight/controller/opendaylight/commons/opendaylight/pom.xml, line 1239, column 19 -> [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:netconf-subsystem:0.3.0-SNAPSHOT (/home/harnan/opendaylight/controller/opendaylight/netconf/pom.xml) has 1 error [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.yangtools:yangtools-artifacts:pom:0.7.0-SNAPSHOT @ org.opendaylight.controller:commons.opendaylight:1.5.0-SNAPSHOT, /home/harnan/opendaylight/controller/opendaylight/commons/opendaylight/pom.xml, line 1239, column 19 -> [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:forwarding.staticrouting:0.6.0-SNAPSHOT (/home/harnan/opendaylight/controller/opendaylight/adsal/forwarding/staticrouting/pom.xml) has 1 error [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.yangtools:yangtools-artifacts:pom:0.7.0-SNAPSHOT @ org.opendaylight.controller:commons.opendaylight:1.5.0-SNAPSHOT, /home/harnan/opendaylight/controller/opendaylight/commons/opendaylight/pom.xml, line 1239, column 19 -> [Help 2] [ERROR]
.....

Thanks Siva