Add upload-recursively function

Issue-ID: DCAEGEN2-206
Change-Id: I87fd678977fe912030e54c75debad1126f1cf692
Signed-off-by: Lusheng Ji <lji@research.att.com>
diff --git a/scripts/mvn-phase-lib.sh b/scripts/mvn-phase-lib.sh
index aa3f637..6f8f2af 100644
--- a/scripts/mvn-phase-lib.sh
+++ b/scripts/mvn-phase-lib.sh
@@ -428,6 +428,13 @@
     upload_raw_file "$F" "$2"
   done
 }
+upload_files_of_extension_recursively()
+{
+  FILES=$(find . -name "*.$1")
+  for F in $FILES ; do
+    upload_raw_file "$F"
+  done
+}
 
 
 generate_pypirc_then_publish()