Added maven build/deploy script

Copied and modified from storm/bin/to_maven.sh