Excluding snapshot downloads from packaging.

Change-Id: I4049a33fa86d7f0e8194e863bff224909d34fa9d
diff --git a/tools/build/onos-package b/tools/build/onos-package
index 56dbdb2..51158fd 100755
--- a/tools/build/onos-package
+++ b/tools/build/onos-package
@@ -53,7 +53,8 @@
 mkdir -p $ONOS_STAGE/$KARAF_DIST/system/org/onosproject
 find $M2_REPO/org/onosproject -type f -path "*/$ONOS_POM_VERSION/*" \
     -name '*.jar' -o -name '*.pom' -o -name 'features.xml' \
-        | grep -v -e '-tests.jar' | while read src; do
+        | grep -v -Ee '-tests.jar|-[0-9]{8}.[0-9]{6}-' \
+        | while read src; do
     dst=$ONOS_STAGE/$KARAF_DIST/system/${src#$M2_REPO/*}
     mkdir -p $(dirname $dst)
     cp $src $dst