Aylık arşivler: Mayıs 2011

Maven ve Proxy

Özellikle netbeans üzerinden maven kullanırken, proxy üzerinden geçmek gerektiğinde, aşağıdaki settings.xml dosyasını home dizinindeki (örneğin C:\Users\Koray) .m2 klasörünün içerisinde oluşturmak yetiyor.

<settings>
  <proxies>
    <proxy>
      <id>testproxy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>127.0.0.1</host>
      <port>8080</port>
      <username>kullanici</username>
      <password>sifre</password>
      <nonProxyHosts>localhost</nonProxyHosts>
    </proxy>
  </proxies>
</settings>
Bu yazı Genel kategorisine tarihinde tarafından gönderildi.