Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-461

Add information about setting web proxies for maven to install docs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: Documentation
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Complete or Committed

      Description

      Add information about setting web proxy settings for maven, as this stings a lot of people.

      See: http://maven.apache.org/guides/mini/guide-proxies.html

      Configuring a proxy

      You can configure a proxy to use for some or all of your HTTP requests in Maven 2.0. The username and password are only required if your proxy requires basic authentication (note that later releases may support storing your passwords in a secured keystore - in the mean time, please ensure your settings.xml file (usually ${user.home}/.m2/settings.xml) is secured with permissions appropriate for your operating system).

      <settings>
      .
      .
      <proxies>
      <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.somewhere.com</host>
      <port>8080</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
      </proxy>
      </proxies>
      .
      .
      </settings>

        Attachments

          Activity

            People

            • Assignee:
              jtrimble Jeffrey Trimble
              Reporter:
              stuartlewis Stuart Lewis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: