fix pom.
modify plugins to global