add switch java version and add docker plugin