Blame view

parking-module-system/pom.xml 3.87 KB
55f68655   王彪总   新项目
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
  <?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-system</artifactId>
      <packaging>jar</packaging>
  
      <name>${project.artifactId}</name>
      <description>
          系统管理模块:认证(OAuth2 Token)、用户、组织、角色、菜单(含权限点)、
          字典、登录日志、操作日志。
          同时实现 parking-common 里三个跨模块契约(OAuth2TokenCommonApi /
          PermissionCommonApi / DictDataCommonApi),
          这三处正是 P0 内存占位实现(parking-server 的 p0 包)被取代的位置。
      </description>
  
      <dependencies>
          <!-- ========== 存量兼容层(P2 迁入的老 com.zteits.sys.*)==========
               老 zteits-sys 的 204 个类 + 53 个 mapper XML 落在本模块,
               它们 import com.clouds.common.*(老框架)和 com.zteits.clouds.api.*(老契约),
               所以这两个依赖是必需的。新写的 system 代码不要用它们。 -->
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>parking-module-api</artifactId>
          </dependency>
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>parking-legacy-common</artifactId>
          </dependency>
  
          <!-- ========== 框架层 ========== -->
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>parking-spring-boot-starter-web</artifactId>
          </dependency>
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>parking-spring-boot-starter-security</artifactId>
          </dependency>
          <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-redis</artifactId>
          </dependency>
          <!-- Excel 导出(/export-excel) -->
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>parking-spring-boot-starter-excel</artifactId>
          </dependency>
  
          <!-- 操作日志切面(@OperateLog)需要 AOP;common 里 aspectjweaver 是 provided,
               本模块要真正在运行时织入,必须显式引入 starter-aop -->
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-aop</artifactId>
          </dependency>
  
          <!-- com.zteits.sys.util.MyMapper 继承 tk.mybatis 的 Mapper/MySqlMapper,
               只为编译通过而声明(provided 不进 Jar)。它是死代码(全仓 0 个子接口),
               ⚠️ 且其所在包不能被 @MapperScan 扫到。 -->
          <dependency>
              <groupId>tk.mybatis</groupId>
              <artifactId>mapper</artifactId>
          </dependency>
  
          <!-- 企业微信:存量 zteits-wxcp-portal 的告警发送实现随迁到本模块
               (包名沿用 com.zteits.wxcp.*,见 tools/p2_import_legacy.py 的 EXPLICIT_SOURCES)。
               老工程里它是一个独立 JVM(端口 18031),通过 Dubbo 给 park/order/pay/bill
               提供 SendMessageService;单 Jar 后同进程注入,本依赖是那 23 个类的编译前提。 -->
          <dependency>
              <groupId>com.github.binarywang</groupId>
              <artifactId>weixin-java-cp</artifactId>
          </dependency>
      </dependencies>
  
  </project>