Force build use Java version from parent pom
Add JDKs
Move wait-for-emulator to before_install
Add snapshot dependency