title: Netbeans + Maven (Updating Central Repositories)
body: <p>I recently faced issues building my project due to "HTTPS Required" error. This issue was solved by modifying my <em>pom.xml</em> as described <a href="https://stackoverflow.com/questions/59765574/netbeans-maven-failed-to-execute-goal-on-project">here</a>, adding the following:</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>However, it is a hassle to update every pom.xml, for every project I have.</p>
  
  <p>I have tried adding that same code snippet to my settings.xml, to no avail.</p>
  
  <p>I am aware newer versions of Maven resolve this issue. However, due to work constraints, I'm unable to update my environment.</p>
  
  <p>I have currently installed Java 8, and Maven, as bundled by Netbeans 8.2 Installer.</p>
  
  <p>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?</p>
  
  <p>Hope this isn't a duplicate, I have searched several entries, all to no avail.</p>