optimize pom.xml and build.gradle
more parallel and simple dependency management