简述
maven公司私服与阿里云的配置。
<profiles>
<profile>
<id>maven-release</id>
<repositories>
<!-- 公司私服 -->
</repositories>
</profile>
<profile>
<id>maven-snapshot</id>
<repositories>
<!-- 公司私服 -->
</repositories>
</profile>
<profile>
<id>aliyun</id>
<repositories>
<!-- 外网仓库,用国内阿里仓库 -->
<repository>
<id>central</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
<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
| List of profiles that are active for all builds.
| -->
<activeProfiles>
<activeProfile>maven-release</activeProfile>
<activeProfile>maven-snapshot</activeProfile>
<activeProfile>aliyun</activeProfile>
</activeProfiles>