pom.xml
2.76 KB
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
<?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">
<parent>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-cloud</artifactId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>parking-module-bill</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>计费模块:计费规则、月卡、优惠券、黑白名单。存量来源 zteits-bill(392 类 + 92 mapper XML)。</description>
<dependencies>
<!-- 存量契约(老 zteits-api 的 416 个接口 + 947 个 DTO,包名 com.zteits.clouds.api.* 原样保留) -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-module-api</artifactId>
</dependency>
<!-- 存量公共库(老 zteits-framework 的 com.clouds.common.*)。
⚠️ 它的第三方位依赖非常重(报表/PDF/短信/地图…),
但那些正是存量代码编译所必需的,详见 parking-legacy-common 的说明。 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-legacy-common</artifactId>
</dependency>
<!-- MyBatis-Plus + 存量 mapper XML 共用一套 SqlSessionFactory;
顺带带来 pagehelper(存量分页)与 druid/mysql 驱动 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-mybatis</artifactId>
</dependency>
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-web</artifactId>
</dependency>
<!-- Controller 上的 @PreAuthorize 需要它。它其实也会经 parking-legacy-common
(→ LoginUserBridge)传递过来,这里仍然显式声明一遍:一是让本模块对 Spring Security
的依赖是"看得见"的,二是 starter-mybatis 那边把 security 声明成了 <scope>provided</scope>
(它自己只为 DefaultDBFieldHandler 用),provided 不传递,不能指望它。
system / park / pay / order 也是显式声明的。 -->
<dependency>
<groupId>com.zteits.boot</groupId>
<artifactId>parking-spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>