<settings>

	<mirrors>
		<mirror>
			<id>my-mirror</id>
			<url>http://maven.example.com/mirror</url>
			<mirrorOf>my-server</mirrorOf>
		</mirror>
	</mirrors>

	<servers>
		<server>
			<id>my-server</id>
			<username>tester</username>
			<password>secret</password>
		</server>
	</servers>

	<proxies>
		<proxy>
			<id>my-proxy</id>
			<active>true</active>
			<protocol>http</protocol>
			<host>proxy.example.com</host>
			<port>8080</port>
			<username>proxyuser</username>
			<password>somepassword</password>
		</proxy>
	</proxies>

	<profiles>
		<profile>
			<id>active-by-default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<repositories>
				<repository>
					<id>active-by-default</id>
					<url>maven.example.com/activeByDefault</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>active-by-property</id>
			<activation>
      			<property>
        			<name>foo</name>
        			<value>bar</value>
      			</property>
			</activation>
			<repositories>
				<repository>
					<id>active-by-property</id>
					<url>maven.example.com/activeByProperty</url>
				</repository>
			</repositories>
		</profile>
		<profile>
			<id>interpolation-profile</id>
			<activation>
      			<property>
        			<name>interpolate</name>
        			<value>true</value>
      			</property>
			</activation>
			<properties>
				<repo.base>maven.example.com</repo.base>
				<repo.content>${repo.base}/content</repo.content>
			</properties>
			<repositories>
				<repository>
					<id>interpolate-releases</id>
					<url>${repo.content}/releases</url>
					<releases>
						<enabled>true</enabled>
						<updatePolicy>never</updatePolicy>
					</releases>
					<snapshots>
						<enabled>false</enabled>
					</snapshots>
				</repository>
				<repository>
					<id>interpolate-snapshots</id>
					<url>${repo.content}/snapshots</url>
					<releases>
						<enabled>false</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
			</repositories>
		</profile>
	</profiles>

</settings>
