#!/bin/bash

echo "Changing Scala Version to $1, and Scala Artifact Version to $2"

sed -i "s/<scala\.version>.*</<scala\.version>$1</" child-pom.xml
sed -i "s/<scala\.artifact\.version>.*</<scala\.artifact\.version>$2</" child-pom.xml

#!/bin/bash

projectName="wookiee-zookeeper"
echo "Changing $projectName Scala Version to $1, and Scala Artifact Version to $2"

sed -i "s/<scala\.version>.*</<scala\.version>$1</" pom.xml
sed -i "s/<scala\.artifact\.version>.*</<scala\.artifact\.version>$2</" pom.xml
sed -i "s/<artifactId>$projectName.*</<artifactId>${projectName}_$2</" pom.xml

Fix for changing of scala version to act on artifactId too, also point to pom.xml
Fix for changing of scala version to act on artifactId too, also point to pom.xml
