|
|
|
@ -15,8 +15,7 @@ |
|
|
|
|
|
|
|
|
|
<properties> |
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source> |
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target> |
|
|
|
|
<java.version>1.8</java.version> |
|
|
|
|
</properties> |
|
|
|
|
|
|
|
|
|
<dependencies> |
|
|
|
@ -58,48 +57,39 @@ |
|
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
|
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> |
|
|
|
|
<plugins> |
|
|
|
|
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-clean-plugin</artifactId> |
|
|
|
|
<version>3.1.0</version> |
|
|
|
|
</plugin> |
|
|
|
|
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
|
<version>3.0.2</version> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
<version>3.8.0</version> |
|
|
|
|
</plugin> |
|
|
|
|
<!-- 打包时跳过测试 --> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
|
<version>2.22.1</version> |
|
|
|
|
<version>2.12.4</version> |
|
|
|
|
<configuration> |
|
|
|
|
<skipTests>true</skipTests> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
|
<version>3.0.2</version> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-install-plugin</artifactId> |
|
|
|
|
<version>2.5.2</version> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId> |
|
|
|
|
<version>2.8.2</version> |
|
|
|
|
</plugin> |
|
|
|
|
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle --> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-site-plugin</artifactId> |
|
|
|
|
<version>3.7.1</version> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
<version>3.1</version> |
|
|
|
|
<configuration> |
|
|
|
|
<source>${java.version}</source> |
|
|
|
|
<target>${java.version}</target> |
|
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId> |
|
|
|
|
<version>3.0.0</version> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-source-plugin</artifactId> |
|
|
|
|
<version>2.2.1</version> |
|
|
|
|
<executions> |
|
|
|
|
<execution> |
|
|
|
|
<id>attach-sources</id> |
|
|
|
|
<goals> |
|
|
|
|
<goal>jar-no-fork</goal> |
|
|
|
|
</goals> |
|
|
|
|
</execution> |
|
|
|
|
</executions> |
|
|
|
|
</plugin> |
|
|
|
|
</plugins> |
|
|
|
|
</pluginManagement> |
|
|
|
|
</build> |
|
|
|
|
</project> |
|
|
|
|