I'm trying to setup remote development for my raspberry pi using eclipse.
When I run my ant build all the Maven downloads default to using these repositories: HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/maven/apache-maven/2.0.10/apache-maven-2.0.10.pom
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:
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
I also followed all the steps here: Requests to http://repo1.maven.org/maven2/ return a 501 HTTPS Required status and a body
No matter what, when I do the ant build, it forces downloads at the http location and fails.
Any advice?
The project is created in eclipse via new -> other -> maven -> org.apache.maven maven->quickstart