Head1stJava

set Maven proxy

at C:\envs\apache-maven-3.9.5\conf\settings.xml

  <proxies>
    <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username></username>
      <password></password>
      <host>127.0.0.1</host>
      <port>20809</port>
      <nonProxyHosts></nonProxyHosts>
    </proxy>
  </proxies>