I recently faced issues building my project due to "HTTPS Required" error. This issue was solved by modifying my pom.xml as described here, adding the following:
<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>
However, it is a hassle to update every pom.xml, for every project I have.
I have tried adding that same code snippet to my settings.xml, to no avail.
I am aware newer versions of Maven resolve this issue. However, due to work constraints, I'm unable to update my environment.
I have currently installed Java 8, and Maven, as bundled by Netbeans 8.2 Installer.
Is there something I can add to my settings.xml to avoid modifying every pom.xml I work on? If absolutely necessary, is there a way I can update just my maven version, knowing I have whatever is installed along with Netbeans?
Hope this isn't a duplicate, I have searched several entries, all to no avail.