code: protected void loadMavenProxy() {
          if (null == settings) {
              return;
          }
  
          Proxy mvnProxy = settings.getActiveProxy();
          if (mvnProxy != null) {
              ProxyConfiguration newProxyConfiguration = new ProxyConfiguration();
              newProxyConfiguration.setHost(mvnProxy.getHost());
              newProxyConfiguration.setPort(mvnProxy.getPort());
              newProxyConfiguration.setUsername(mvnProxy.getUsername());
              newProxyConfiguration.setPassword(mvnProxy.getPassword());
              newProxyConfiguration.setHostExclusions(mvnProxy.getNonProxyHosts());
              proxyConfig = newProxyConfiguration;
              getLog().info("Maven proxy loaded successfully");
          } else {
              getLog().warn("No maven proxy found, however useMavenProxy is set to true!");
          }
      }
docs: Try to load the active maven proxy.