Include pom files when publishing locally
Change-Id: Ie9290bf8eecef739e4ed78fabf1ae422540fa8c2
diff --git a/tools/build/onos-publish-catalog b/tools/build/onos-publish-catalog
index 3864b10..6480e3f 100755
--- a/tools/build/onos-publish-catalog
+++ b/tools/build/onos-publish-catalog
@@ -51,14 +51,15 @@
echo "Cataloging test jars..."
writeCatalog $(testJars)
+echo "Cataloging pom files..."
+writeCatalog $(jars | sed 's/$/-pom/')
+
[ $libsOnly = true ] && exit 0
echo "Cataloging source jars..."
writeCatalog $(sourceJars | sed 's/$/-sources/')
echo "Cataloging javadoc jars..."
writeCatalog $(javadocJars | sed 's/$/-javadoc/')
-echo "Cataloging pom files..."
-writeCatalog $(jars | sed 's/$/-pom/')
echo "Cataloging oar files..."
writeCatalog $(bazel query 'kind("_onos_oar rule", //...)')