-
Notifications
You must be signed in to change notification settings - Fork 6
/
pom.xml
88 lines (79 loc) · 3.24 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<name>spring5x</name>
<groupId>com.zja</groupId>
<artifactId>spring5x</artifactId>
<version>1.0-SNAPSHOT</version>
<modules>
<module>spring5x-base</module>
<module>spring5x-email</module>
<module>spring5x-task</module>
<module>spring5x-test</module>
<module>spring5x-websocket</module>
<module>spring5x-swagger2</module>
<module>spring5x-springmvc</module>
<module>spring5x-mongodb</module>
<module>spring5x-redis</module>
<module>spring5x-memcached</module>
<module>spring5x-mq</module>
<module>spring5x-mybatis</module>
<module>spring5x-jdbc-database</module>
<module>spring5x-hibernate5</module>
<module>spring5x-java8</module>
<module>spring5x-dubbo</module>
<module>spring5x-data-jpa</module>
<module>spring5x-sharding-jdbc-jpa</module>
<!--<module>spring5x-sharding-jdbc-mybatis</module>-->
</modules>
<properties>
<!--spring5.x 至少需要jdk1.8及以上版本-->
<spring.version>5.0.9.RELEASE</spring.version>
<!--jdk必须 >=1.8-->
<jdk.version>1.8</jdk.version>
<!--maven 版本-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.plugin.version>3.6.0</maven.compiler.plugin.version>
<mavne.surefire.plugin.version>2.19.1</mavne.surefire.plugin.version>
<maven-war-plugin.version>2.6</maven-war-plugin.version>
<servlet.version>4.0.1</servlet.version>
</properties>
<!--阿里镜像库-->
<repositories>
<repository>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</repository>
</repositories>
<!--定义编译时的配置项-->
<build>
<pluginManagement>
<plugins>
<!--maven的编译插件-->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<!--开发版本-->
<source>${jdk.version}</source>
<!--.class文件版本-->
<target>${jdk.version}</target>
<!--打包后的编码-->
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!--打包跳过测试-->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${mavne.surefire.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>