add java version in maven
cleaning empty files
add waitforalltask function
update submodules