delete useless version configuration and add the maven compiler plugin