Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • (optional) You can specify the tomcat home to be an environment variable like so:
    No Format
          <maven.tomcat.home>${env.CATALINA_HOME}</maven.tomcat.home>
    
  • (optional) Users who use a network proxy need to add the following to their file
    Code Block
    xml
    xml
    ...
      <proxies>
         <proxy>
            <active>true</active>
            <protocol>http</protocol>
            <host>www.your.proxy.host</host>
            <port>80</port>
            <username>your_username</username>
            <password>your_password</password>
            <nonProxyHosts>localhost</nonProxyHosts>
         </proxy>
      </proxies>
    </settings>
    
    • If you do not use a username or password for your proxy just leave out those 2 lines
    • You only need the nonProxyHosts option if you have a local maven repo that does not require the proxy to be accessed
    • note Maven 2 doesn't support Microsoft's NTLN authification scheme. If you connect to a proxy like ISA you will need to use a tool, such as http://ntlmaps.sourceforge.net/ to proxy your trafic