title: "Maven builds are failing with "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" for Java 7 and Java 6
body: <p>Effective January 15, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS</p>
  
  <p>We changed our maven central repo from HTTP to HTTPS where builds are working fine for Java version 8 but failing for Java 7 and 6 with the error as </p>
  
  <pre><code> Error: Plugin org.apache.maven.plugins:maven-source-plugin:2.1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-source-plugin:jar:2.1.2: Could not transfer artifact org.apache.maven.plugins:maven-plugins:pom:18 from/to central (https://repo1.maven.org/maven2/): peer not authenticated -&gt; [Help 1]
  </code></pre>
  
  <p>Any suggestions would be highly appreciated.</p>