avoid shaded pom
handle manually installed jvm
remove unnecessary recursion