fix jvm version and duplicate plugin