fix mvn clean install compile error. avoid unused provide.