<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.java4all</groupId>
<artifactId>aa</artifactId>
<version>0.1.2.1</version>
<packaging>jar</packaging>

<properties>
<maven_deploy_version>2.8.2</maven_deploy_version>
<skip_maven_deploy>false</skip_maven_deploy>
</properties>


<dependencies>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
<version>2.2.2.RELEASE</version>
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven_deploy_version}</version>
<configuration>
<skip>${skip_maven_deploy}</skip>
</configuration>
</plugin>

<!-- 同步刷新系统各个模块版本 -->
<!-- 参考syn-modules-version.sh脚本 -->
<!-- mvn -N versions:update-child-modules -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<repository>
<id>xxx</id>
<url>http://maven.xx.cn/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>xxx</id>
<url>http://maven.xx.cn/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

</project>