<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <localRepository>/home/aUser/.m2/repository</localRepository>

  <!-- Force access to any hidden remote Maven repositories through Artifactory. -->
  <mirrors>
    <mirror>
      <mirrorOf>*</mirrorOf>
      <name>remote-repos</name>
      <url>http://our.artifactory.server:8081/artifactory/remote-repos</url>
      <id>remote-repos</id>
    </mirror>
  </mirrors>

  <profiles>
    <profile>
      <id>our-profile</id>
      <repositories>
        <!-- Configure our repositories. -->
        <repository>
          <name>libs-release</name>
          <id>our-product</id>
          <url>http://our.artifactory.server:8081/artifactory/repo</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <name>libs-snapshot</name>
          <id>our-product-snapshots</id>
          <url>http://our.artifactory.server:8081/artifactory/repo</url>
          <snapshots />
        </repository>
        <!-- Override Maven's built-in repositories. -->
        <repository>
          <id>central</id>
          <url></url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>snapshots</id>
          <url></url>
          <snapshots />
        </repository>
      </repositories>
      <pluginRepositories>
        <!-- Configure our repositories. -->
        <pluginRepository>
          <name>plugins-release</name>
          <id>our-product-plugins</id>
          <url>http://our.artifactory.server:8081/artifactory/repo</url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <name>plugins-snapshot</name>
          <id>our-product-plugins-snapshots</id>
          <url>http://our.artifactory.server:8081/artifactory/repo</url>
          <snapshots />
        </pluginRepository>
        <!-- Override Maven's built-in repositories. -->
        <pluginRepository>
          <id>central</id>
          <url></url>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
        <pluginRepository>
          <id>snapshots</id>
          <url></url>
          <snapshots />
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>

  <activeProfiles>
    <activeProfile>our-profile</activeProfile>
  </activeProfiles>

  <servers>
    <server>
      <id>our-product</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
    <server>
      <id>our-product-snapshots</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
    <server>
      <id>our-product-plugins</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
    <server>
      <id>our-product-plugins-snapshots</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
    <server>
      <id>ext-release-local</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
    <server>
      <id>remote-repos</id>
      <username>aUser</username>
      <password>aPassword</password>
    </server>
  </servers>

  <pluginGroups>
    <pluginGroup>org.codehaus.mojo</pluginGroup>
  </pluginGroups>

</settings>