Ask Your Question
0

Resolving Dependencies

asked 2016-05-06 09:46:42 -0700

monicarajasekaran gravatar image

Hi,

Could someone tell me what dependency needs to be added to my pom in order to import classes like, “org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService”, “org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef” …?

I only have “openflow.protocol….all the packet builder classes” under urn.opendaylight. I need the above for my application.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2016-05-31 05:51:32 -0700

The Advanced Search by Classname available on https://nexus.opendaylight.org is useful to find out which Maven artifact contains a known class. So e.g. for what you are looking for, you should be able to do https://nexus.opendaylight.org/#nexus... and you find:

<dependency>
  <groupId>org.opendaylight.controller.model</groupId>
  <artifactId>model-inventory</artifactId>
  <version>1.4.0-SNAPSHOT</version>
</dependency>

PS: Note that currently this search is very slow (wait for several minutes), but that is probably just a temporary load issue on Nexus.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-05-06 09:46:42 -0700

Seen: 82 times

Last updated: May 31 '16