-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
127 lines (109 loc) · 4.17 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?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">
<groupId>com.restaurant.dinner</groupId>
<artifactId>kitchen</artifactId>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<version>1.0.0-SNAPSHOT</version>
<modules>
<module>core-interface</module>
<module>core-market</module>
<module>core-business</module>
<module>api-portal</module>
<module>api-provider</module>
<module>web-manage</module>
<module>web-business</module>
<module>kitchen-cache</module>
<module>kitchen-rpc</module>
<module>kitchen-request-sdk</module>
</modules>
<!-- 通用属性配置 -->
<properties>
<!-- 默认 JDK 版本 -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
<!-- spring 版本号 -->
<spring.version>4.3.2.RELEASE</spring.version>
<!-- mybatis 版本号 -->
<mybatis.version>3.4.2</mybatis.version>
<!-- javaee相关版本 -->
<javaee-api.version>7.0</javaee-api.version>
<javax-servlet-api.version>3.1.0</javax-servlet-api.version>
<!-- FastJson版本 -->
<fastjson.version>1.2.17</fastjson.version>
</properties>
<dependencies>
<!-- +++++++++++++++++++++++++++++++++++++++++++++++通用工具+++++++++++++++++++++++++++++++++++++++++++++++ -->
<!--
Java元组支持 http://www.javatuples.org/
Pair<String, Integer> func(String input) {
// something...
return Pair.with(stringResult, intResult);
}
-->
<dependency>
<groupId>org.javatuples</groupId>
<artifactId>javatuples</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.2.1</version>
</dependency>
<!-- +++++++++++++++++++++++++++++++++++++++++++++++通用工具+++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Spring 配置 - Start -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- Spring 配置 - End -->
<!-- SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.9</version>
</dependency>
<!-- 日志组件(log4j) -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.7</version>
</dependency>
<!-- 阿里巴巴 FastJson 框架 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- JUnit 测试 只在开发时引入,发布的时候不会加载 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</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>
</configuration>
</plugin>
</plugins>
</build>
</project>