Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo
Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
diff --git a/providers/openflow/device/BUCK b/providers/openflow/device/BUCK
index c27bda4..56244d1 100644
--- a/providers/openflow/device/BUCK
+++ b/providers/openflow/device/BUCK
@@ -14,7 +14,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
diff --git a/providers/openflow/flow/BUCK b/providers/openflow/flow/BUCK
index 8413106..cc8ac28 100644
--- a/providers/openflow/flow/BUCK
+++ b/providers/openflow/flow/BUCK
@@ -14,7 +14,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
diff --git a/providers/openflow/group/BUCK b/providers/openflow/group/BUCK
index 6e1f55a..2d176ab 100644
--- a/providers/openflow/group/BUCK
+++ b/providers/openflow/group/BUCK
@@ -15,7 +15,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
diff --git a/providers/openflow/message/BUCK b/providers/openflow/message/BUCK
index 721518c..dff2a84 100644
--- a/providers/openflow/message/BUCK
+++ b/providers/openflow/message/BUCK
@@ -15,7 +15,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
diff --git a/providers/openflow/meter/BUCK b/providers/openflow/meter/BUCK
index a9bea90..9eae14a 100644
--- a/providers/openflow/meter/BUCK
+++ b/providers/openflow/meter/BUCK
@@ -14,7 +14,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
diff --git a/providers/openflow/packet/BUCK b/providers/openflow/packet/BUCK
index bc579ee..b209b2b 100644
--- a/providers/openflow/packet/BUCK
+++ b/providers/openflow/packet/BUCK
@@ -14,7 +14,7 @@
'//lib:TEST',
]
-java_library(
+osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,