title: Eclipse Maven only downloads from HTTP central repository and fails
body: <p>I'm trying to setup remote development for my raspberry pi using eclipse.</p>
  <p><a href="https://docs.deistercloud.com/content/Technology.50/Internet%20of%20Things/Raspberry%20PI.2/Eclipse.4.xml?embedded=true" rel="nofollow noreferrer">https://docs.deistercloud.com/content/Technology.50/Internet%20of%20Things/Raspberry%20PI.2/Eclipse.4.xml?embedded=true</a></p>
  <p>When I run my ant build all the Maven downloads default to using these repositories:
  HTTP response code: 501 for URL: <a href="http://repo1.maven.org/maven2/org/apache/maven/apache-maven/2.0.10/apache-maven-2.0.10.pom" rel="nofollow noreferrer">http://repo1.maven.org/maven2/org/apache/maven/apache-maven/2.0.10/apache-maven-2.0.10.pom</a></p>
  <p>I'm aware of the change to Maven that requires these downloads be from HTTPS sources and I've modified everywhere that I can think of to tell Maven to use the updated repositories to no avail. I included the below in my pom.xml:</p>
  <pre><code>&lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;central&lt;/id&gt;
          &lt;name&gt;Central Repository&lt;/name&gt;
          &lt;url&gt;https://repo.maven.apache.org/maven2&lt;/url&gt;
          &lt;layout&gt;default&lt;/layout&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/snapshots&gt;
          &lt;releases&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
          &lt;/releases&gt;
      &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;central&lt;/id&gt;
          &lt;name&gt;Central Repository&lt;/name&gt;
          &lt;url&gt;https://repo.maven.apache.org/maven2&lt;/url&gt;
          &lt;layout&gt;default&lt;/layout&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/snapshots&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>
  <p>I also followed all the steps here:
  <a href="https://stackoverflow.com/questions/59764749/requests-to-http-repo1-maven-org-maven2-return-a-501-https-required-status-an">Requests to http://repo1.maven.org/maven2/ return a 501 HTTPS Required status and a body</a></p>
  <p>No matter what, when I do the ant build, it forces downloads at the http location and fails.</p>
  <p>Any advice?</p>
  <p>The project is created in eclipse via new -&gt; other -&gt; maven -&gt; org.apache.maven maven-&gt;quickstart</p>