Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + [ |
| 2 | "@commons_jxpath//jar", |
| 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//apps/odtn/api:onos-apps-odtn-api", |
| 6 | ] |
| 7 | |
| 8 | TEST_DEPS = TEST_ADAPTERS + [ |
| 9 | "@slf4j_jdk14//jar", |
| 10 | "//core/api:onos-api-tests", |
| 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ":onos-drivers-odtn-driver", |
Carmelo Cascone | 4164436 | 2018-08-09 16:56:43 -0700 | [diff] [blame] | 15 | # "//lib:commons-jxpath", |
| 16 | # "//lib:commons-beanutils", # jxpath dependency |
| 17 | # "//lib:jdom", # jxpath dependency |
Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 18 | ] |
| 19 | |
| 20 | osgi_jar_with_tests( |
| 21 | resources = glob(["src/main/resources/**"]), |
| 22 | resources_root = "src/main/resources", |
| 23 | test_deps = TEST_DEPS, |
| 24 | deps = COMPILE_DEPS, |
| 25 | ) |
| 26 | |
| 27 | onos_app( |
| 28 | app_name = "org.onosproject.drivers.odtn-driver", |
| 29 | category = "Drivers", |
| 30 | description = "Drivers related to ODTN", |
| 31 | included_bundles = BUNDLES, |
| 32 | required_apps = [ |
| 33 | "org.onosproject.netconf", |
| 34 | "org.onosproject.odtn-api", |
| 35 | ], |
| 36 | title = "ODTN Driver", |
| 37 | url = "https://wiki.onosproject.org/display/ODTN/ODTN", |
| 38 | ) |