diff --git a/modules/scripts/change-superadmin-credentials.sh b/modules/scripts/change-superadmin-credentials.sh index 2f9f0494..6b59a162 100755 --- a/modules/scripts/change-superadmin-credentials.sh +++ b/modules/scripts/change-superadmin-credentials.sh @@ -42,6 +42,11 @@ while [[ -z $val3 || -z $val4 ]]; do #if $val2 is a zero length String read val4; done +echo "Changing /conf/cdm-config.xml" +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/cdm-config.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/cdm-config.xml +echo "Completed!!" + echo "Changing /conf/app-manager.xml" sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/app-manager.xml sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/app-manager.xml diff --git a/pom.xml b/pom.xml index 034c139d..24f2b49c 100644 --- a/pom.xml +++ b/pom.xml @@ -17,8 +17,7 @@ ~ under the License. --> - + 4.0.0 org.wso2.iot @@ -1499,8 +1498,7 @@ 5.3.11 5.1.2 5.1.4 - 5.1.1 - + 5.1.1 5.1.1 5.1.4 1.0.0