maven-.m2

<settings>
	<!--<localRepository>D:/maven-2.2.1/.m2/repository</localRepository>-->
	<proxies>
		<proxy>
			<id>normal</id>
			<active>true</active>
			<protocol>http</protocol>
			<username>congmin.jin</username>
			<password>123456</password>
			<host>nexus.tech.xxx.com/</host>
			<port>80</port>
			<nonProxyHosts>nexus.tech.xxx.com</nonProxyHosts>
		</proxy>
	</proxies>
	<mirrors>
		<mirror>
			<!--This is used to direct the public snapshots repo in the profile below 
				over to a different nexus group -->
			<id>nexus-public-snapshots</id>
			<mirrorOf>public-snapshots</mirrorOf>
			<url>http://nexus.tech.xxx.com/content/groups/public-snapshots
			</url>
		</mirror>
		<mirror>
			<!--This sends everything else to /public -->
			<id>nexus</id>
			<mirrorOf>*</mirrorOf>
			<url>http://nexus.tech.xxx.com/content/groups/public</url>
		</mirror>
	</mirrors>
	<profiles>
		<profile>
			<id>development</id>
			<repositories>
				<repository>
					<id>central</id>
					<url>http://central</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>central</id>
					<url>http://central</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</pluginRepository>
			</pluginRepositories>
		</profile>
		<profile>
			<!--this profile will allow snapshots to be searched when activated -->
			<id>public-snapshots</id>
			<repositories>
				<repository>
					<id>public-snapshots</id>
					<url>http://public-snapshots</url>
					<releases>
						<enabled>false</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>public-snapshots</id>
					<url>http://public-snapshots</url>
					<releases>
						<enabled>false</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>development</activeProfile>
	</activeProfiles>
	<servers>
		<server>
			<id>Releases</id>
			<username>congmin.jin</username>
			<password>123456</password>
		</server>
		<server>
			<id>Snapshots</id>
			<username>deployment</username>
			<password>deploydv89</password>
		</server>
		<server>
			<id>thirdparty</id>
			<username>congmin.jin</username>
			<password>123456</password>
		</server>
		<server>
            <id>tomcat-66-16</id>
			<username>admin</username>
			<password>aa123123</password>
		</server>
		<server>
            <id>tomcat-localhost</id>
			<username>admin</username>
			<password>aa123123</password>
		</server>
	</servers>
</settings>

你可能感兴趣的:(maven,setting)