Maven换源

<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

	<pluginGroups>
	</pluginGroups>

	<proxies>
	</proxies>

	<servers>
	</servers>

	<mirrors>
		<mirror>
			<id>aliyun</id>
			<name>aliyun Maven</name>
			<mirrorOf>*</mirrorOf>
			<url>http://maven.aliyun.com/nexus/content/groups/public</url>
			<!-- <url>http://maven.oschina.net/content/groups/public</url> -->
		</mirror>
	</mirrors>
	<profiles>
		<profile>
	  <id>jdk-1.8</id>
	   
	  <activation>
		 <activeByDefault>true</activeByDefault>
		 <jdk>1.8</jdk>
	  </activation>
		   
	  <properties>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
	  </properties>
	</profile>
	</profiles>
	<activeProfiles>
	</activeProfiles>



</settings>

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