Maven Error: 501 HTTPS Required
The issue may occur during Maven build phase because of the recent changes in the Maven Central Repository. Effective January 15th, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS.
Error 501 HTTPS Required.
Return code is: 501, ReasonPhrase:HTTPS Required
We can solve this issue by forcing Maven to use HTTPS if you are using an older version of Maven as shown below. Otherwise just upgrade to Maven version >= 3.2.3 which uses HTTPS by default.