#!/bin/bash
v=$1
if [[ ! -z "$v" ]] ; then
    v="$v-"
fi
c="mvn versions:set -DnewVersion=1.0-""$v""SNAPSHOT versions:commit"
echo $c
eval $c