Clean up maven deprication warnings.

No need to set the version in 3 different places.