VERSION=$(cat testable-parent/pom.xml | grep '<testable.version>'| sed -e 's/^.*>\([^<]*\)<.*$/\1/g')
echo"Current version is: ${VERSION}"
read -p "Next version should be: " NEXT
for pom in testable-all/pom.xml testable-maven-plugin/pom.xml testable-processor/pom.xml testable-agent/pom.xml testable-core/pom.xml testable-parent/pom.xml;do
sed -i ''"s/<version>${VERSION}<\/version>/<version>${NEXT}<\/version>/"$pom