Adding creation and publishing of onos-build-conf.jar

Change-Id: Ie6b83725e6c6c5f17a82603c510d5b4b10636e48
diff --git a/BUILD b/BUILD
index f71c4b7..16f97da 100644
--- a/BUILD
+++ b/BUILD
@@ -4,6 +4,7 @@
 filegroup(
     name = "onos",
     srcs = CORE + APPS + [
+        "//tools/build/conf:onos-build-conf",
         ":onos-package-admin",
         ":onos-package-test",
         ":onos-package",
diff --git a/tools/build/conf/BUILD b/tools/build/conf/BUILD
index 22a1ecf..1eb4fae 100644
--- a/tools/build/conf/BUILD
+++ b/tools/build/conf/BUILD
@@ -21,3 +21,9 @@
     srcs = [header_source],
     visibility = ["//visibility:public"],
 )
+
+java_library(
+    name = "onos-build-conf",
+    resources = glob(["src/main/resources/onos/**"]),
+    visibility = ["//visibility:public"],
+)
diff --git a/tools/build/onos-publish-catalog b/tools/build/onos-publish-catalog
index ed2970f..c84dde5 100755
--- a/tools/build/onos-publish-catalog
+++ b/tools/build/onos-publish-catalog
@@ -35,6 +35,7 @@
 bazel-bin/onos.tar.gz	org/onosproject/onos-releases/$VERSION/onos-$VERSION.tar.gz
 bazel-bin/onos-admin.tar.gz	org/onosproject/onos-releases/$VERSION/onos-admin-$VERSION.tar.gz
 bazel-bin/onos-test.tar.gz	org/onosproject/onos-releases/$VERSION/onos-test-$VERSION.tar.gz
+bazel-bin/tools/build/conf/libonos-build-conf.jar	org/onosproject/onos-build-conf/$VERSION/onos-build-conf-$VERSION.tar.gz
 EOF
 
 echo "Cataloging jar files..."