Automate maven install and deploy using scripts

Change-Id: Id89eac2103ea359c77a25a68c81acdd0f7787b71