CONN-668:Fix Nightly build and ear pom.xml