Maven Central Repository is moving to HTTPS and disablig HTTP access

Maven Central Repository is moving to https and http connections are disabled from January 15, 2020.
Here are the steps to fix any issue you can have.