Child pages
  • Maven 2.x settings.xml file
Skip to end of metadata
Go to start of metadata
  1. Create a new xml file in your user home directory in the .m2 directory called settings.xml
  2. Add the following lines:
    <settings xmlns=""
    • Note: Unfortunately, Sakai does not use the standard appserver.home so you have to specify a sakai.appserver.home
    • Note: The sakai.appserver.home must be C:\opt\tomcat for windows users
    • Note: Do not include trailing / or \ slashes in the directory paths
  • (optional) You can specify the tomcat home to be an environment variable like so:
  • (optional) Users who use a network proxy need to add the following to their file
    • 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 authentification scheme. If you connect to a proxy like ISA you will need to use a tool, such as to proxy your traffic
  • No labels