Adding maven coords to OAR and onos features.xml genrules

Change-Id: Id2d3b0f4686888a48feb09eacef3f27136c1df0e
diff --git a/tools/package/BUCK b/tools/package/BUCK
index 7127214..4c63cc7 100644
--- a/tools/package/BUCK
+++ b/tools/package/BUCK
@@ -29,6 +29,7 @@
 compile_features(
   name = 'onos-features',
   features = FEATURES,
+  maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION,
 )
 
 staged_repos = ['$(location %s-repo)' % f for f in FEATURES]
@@ -42,7 +43,7 @@
   name = 'onos-package',
   srcs = glob(['bin/*', 'etc/*', 'init/*', 'config/*']),
   out = 'onos.tar.gz',
-  bash = '$(exe //buck-tools:onos-stage) $OUT $(location :onos-karaf) ' + ' '.join(sources),
+  bash = '$(exe //buck-tools:onos-stage) $OUT ' + ONOS_VERSION + ' $(location :onos-karaf) ' + ' '.join(sources),
   visibility = [ 'PUBLIC' ],
 )