Streamlined maven imports to only use main repo
Fixed deprecated method call