Customizing your OpenDaylight repositories
OpenDaylight uses a collection of Maven repositories to provision required libraries, frameworks, and other artifacts. To ease accessing your own organization's resources, you can configure your OpenDaylight installation to access the repositories your installation requires.
Getting ready
The ingredients of this recipe include an OpenDaylight distribution kit, access to a JDK, Maven, and a source code editor. Sample configuration for this recipe is available at:
https://github.com/jgoodyear/OpenDaylightCookbook/tree/master/chapter10/chapter10-recipe3
How to do it...
OpenDaylight defines its repositories in $ODL_HOME/etc/org.ops4j.pax.url.mvn.cfg
. We can customize the repositories by editing the entries under the property org.ops4j.pax.url.mvn.repositories
, adding, or removing entries as required.
For example, to add a new repository containing your SDN artifacts we'd edit $ODL_HOME/etc/org.ops4j.pax.url.mvn.cfg
as follows:
org.ops4j.pax.url.mvn.repositories...