1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Necessary TODO: Put your copyright statement here
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <features name="odl-controller-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
11 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12 xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
14 Necessary TODO: Please read the features guidelines:
15 https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Feature_Best_Practices
17 <feature name='odl-akka-all' version='${project.version}' description='OpenDaylight :: Akka :: All'>
20 List all of the user consumable features you define in this feature file here.
21 Generally you would *not* list individual bundles here, but only features defined in *this* file.
22 It is useful to list them in the same order they occur in the file.
25 <feature version='${project.version}'>odl-controller-provider</feature>
26 <feature version='${project.version}'>odl-controller-model</feature>
28 <feature version="${scala.version}">odl-akka-scala</feature>
29 <feature version="${akka.version}">odl-akka-system</feature>
30 <feature version="${akka.version}">odl-akka-clustering</feature>
31 <feature version='0.7'>odl-akka-leveldb</feature>
32 <feature version="${akka.version}">odl-akka-persistence</feature>
35 Necessary TODO: Define your features. It is useful to list then in order of dependency. So if A depends on B, list A first.
36 When naming your features please be mindful of the guidelines:
37 https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines
39 a) Prefixing names with 'odl-': https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Feature_Naming
40 b) Descriptions: https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Description
41 c) Avoid start-levels: https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Avoid_start-levels
43 <feature name="odl-akka-scala" description="Scala Runtime for OpenDaylight" version="${scala.version}">
44 <bundle>mvn:org.scala-lang/scala-library/${scala.version}.${scala.micro.version}</bundle>
45 <bundle>mvn:org.scala-lang/scala-reflect/${scala.version}.${scala.micro.version}</bundle>
47 <feature name="odl-akka-system" description="Akka Actor Framework System Bundles" version="${akka.version}">
48 <feature version="${scala.version}">odl-akka-scala</feature>
49 <bundle>mvn:com.typesafe/config/${typesafe.config.version}</bundle>
50 <bundle>mvn:com.typesafe.akka/akka-actor_${scala.version}/${akka.version}</bundle>
51 <bundle>mvn:com.typesafe.akka/akka-slf4j_${scala.version}/${akka.version}</bundle>
52 <bundle>mvn:com.typesafe.akka/akka-osgi_${scala.version}/${akka.version}</bundle>
54 <feature name="odl-akka-clustering" description="Akka Clustering" version="${akka.version}">
55 <feature version="${akka.version}">odl-akka-system</feature>
56 <bundle>wrap:mvn:org.uncommons.maths/uncommons-maths/${uncommons.maths.version}</bundle>
57 <bundle>mvn:com.google.protobuf/protobuf-java/${protobuf.version}</bundle>
58 <bundle>mvn:io.netty/netty/3.8.0.Final</bundle>
59 <bundle>mvn:com.typesafe.akka/akka-remote_${scala.version}/${akka.version}</bundle>
60 <bundle>mvn:com.typesafe.akka/akka-cluster_${scala.version}/${akka.version}</bundle>
62 <feature name='odl-akka-leveldb' description='LevelDB' version='0.7'>
63 <bundle>wrap:mvn:org.iq80.leveldb/leveldb/${leveldb.version}</bundle>
64 <bundle>mvn:org.fusesource.leveldbjni/leveldbjni-all/${leveldbjni.version}</bundle>
66 <feature name='odl-akka-persistence' description='Akka Persistence' version="${akka.version}">
67 <feature version='0.7'>odl-akka-leveldb</feature>
68 <feature version="${akka.version}">odl-akka-system</feature>
69 <bundle>mvn:com.typesafe.akka/akka-persistence-experimental_${scala.version}/${akka.version}</bundle>
70 <bundle>wrap:mvn:com.google.protobuf/protobuf-java/${protobuf.version}$overwrite=merge&DynamicImport-Package=org.opendaylight.controller.protobuff.messages.*;org.opendaylight.controller.cluster.raft.protobuff.client.messages.*</bundle>