jars not found in my ping application !!

asked 2014-12-18 23:58:14 -0800

techdeveloper gravatar image

I wrote the ping application as per the link https://wiki.opendaylight.org/view/Ping . But I am using karaf distribution from controller.git. After building the model and sample I placed both the jars in distribution/opendaylight-karaf/target/assembly/deploy folder as told. I mentioned them as dependency in features/md-sal/samples/pom.xml and distribution/opendaylight-karaf/pom.xml. After this I do mvn clean install from root dir and i got this error

[INFO] Scanning for projects... [ERROR] The build could not read 2 projects -> [Help 1] [ERROR]
[ERROR] The project org.opendaylight.controller:distribution.opendaylight-karaf:1.5.0-SNAPSHOT (/home/odl/odl/code/controller/opendaylight/distribution/opendaylight-karaf/pom.xml) has 2 errors [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-ping:jar is missing. @ line 117, column 17 [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.samples:sample-ping-provider:jar is missing. @ line 121, column 17 [ERROR]
[ERROR] The project org.opendaylight.controller:features-mdsal:1.2.0-SNAPSHOT (/home/odl/odl/code/controller/features/mdsal/pom.xml) has 2 errors [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-ping:jar is missing. @ line 234, column 17 [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.samples:sample-ping-provider:jar is missing. @ line 238, column 17 [ERROR]

Where I have to provide my jars so that karaf distribution controller can pick it up?

edit retag flag offensive close merge delete

Comments

Before this I didn't mention my dependency in any pom file but copied the jars to depoly. After running the controller and calling the restconf api i got rpc error saying "No implementation for this operation is available". What does this mean? It couldn't find jars of my implementation right?

techdeveloper ( 2014-12-19 00:02:07 -0800 )edit