Ask Your Question
0

dependencies.dependency.version for * is missing

asked 2015-08-02 01:36:28 -0700

happysmile gravatar image

i have imported config in my yang model resuleted this error during compile using maven:

    [ERROR]   The project firsts.toaster:toster-api:1.0-SNAPSHOT (/home/happysmile/code/odl/toster/api/pom.xml) has 7 errors
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:config-api:jar is missing. @ line 35, column 18
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:sal-binding-api:jar is missing. @ line 39, column 18
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:sal-binding-config:jar is missing. @ line 43, column 18
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:sal-common-util:jar is missing. @ line 47, column 18
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:yang-jmx-generator-plugin:jar must be a valid version but is '${config.version}'. @ line 58, column 16
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:sal-binding-broker-impl:jar is missing. @ line 61, column 18
[ERROR]     'dependencies.dependency.version' for org.opendaylight.controller:sal-binding-broker-impl:test-jar is missing. @ line 66, column 18

i created the project using mvn archetype:generate, so how can i find corresponding versions of modules? or is there anyway to skip this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-10 00:01:15 -0700

happysmile gravatar image

To solve this problem needed dependencies and version must be added to related pom.xml file, and easiest way to do this is using eclipse because of it repository manager of dependencies, so you do not need to look for the version and groupId of needed dependency.

edit flag offensive delete publish link more
0

answered 2015-08-03 06:21:24 -0700

jsmoeller gravatar image

Did you setup .m2/settins.xml for opendaylight ?

edit flag offensive delete publish link more

Comments

yes, download the setting file and replaced that. My problem is with the versions of imported modules. Where can i find the version element of dependency elements in pom file?

happysmile ( 2015-08-03 23:37:31 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-08-02 01:36:28 -0700

Seen: 284 times

Last updated: Aug 10 '15