Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui
Also, fixed checkstyle error print
Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
diff --git a/apps/dhcp/app/BUCK b/apps/dhcp/app/BUCK
index a3b4ea1..df15319 100644
--- a/apps/dhcp/app/BUCK
+++ b/apps/dhcp/app/BUCK
@@ -1,10 +1,8 @@
-CURRENT_NAME = 'onos-app-dhcp-app'
-
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:javax.ws.rs-api',
'//lib:org.apache.karaf.shell.console',
- '//apps/dhcp/api:onos-app-dhcp-api',
+ '//apps/dhcp/api:onos-apps-dhcp-api',
'//utils/rest:onlab-rest',
'//core/store/serializers:onos-core-serializers',
'//cli:onos-cli',
@@ -14,12 +12,8 @@
'//lib:TEST_ADAPTERS',
]
-osgi_jar(
- name = CURRENT_NAME,
+osgi_jar_with_tests (
deps = COMPILE_DEPS,
- srcs = glob([SRC + '/*.java']),
- resources = glob([RESOURCES_ROOT + '**']),
- test_srcs = glob([TEST + '/*.java']),
test_deps = TEST_DEPS,
web_context = '/onos/dhcp',
)