pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.phm</groupId>
  7. <artifactId>phm</artifactId>
  8. <version>1.0.0</version>
  9. <name>phm</name>
  10. <description>预测健康管理系统</description>
  11. <properties>
  12. <phm.version>1.0.0</phm.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  17. <druid.version>1.2.16</druid.version>
  18. <bitwalker.version>1.21</bitwalker.version>
  19. <swagger.version>3.0.0</swagger.version>
  20. <kaptcha.version>2.3.3</kaptcha.version>
  21. <pagehelper.boot.version>1.4.6</pagehelper.boot.version>
  22. <fastjson.version>2.0.34</fastjson.version>
  23. <oshi.version>6.4.4</oshi.version>
  24. <commons.io.version>2.11.0</commons.io.version>
  25. <commons.collections.version>3.2.2</commons.collections.version>
  26. <poi.version>4.1.2</poi.version>
  27. <velocity.version>2.3</velocity.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <lombok.version>1.18.28</lombok.version>
  30. <netty-all.version>4.1.86.Final</netty-all.version>
  31. <hutool.version>5.8.27</hutool.version>
  32. <dameng.version>8.1.1.49</dameng.version>
  33. <es.version>7.12.1</es.version>
  34. <easy-es.version>2.0.0-beta4</easy-es.version>
  35. </properties>
  36. <!-- 依赖声明 -->
  37. <dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.elasticsearch.client</groupId>
  41. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  42. <version>${es.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.elasticsearch.client</groupId>
  46. <artifactId>elasticsearch-rest-client</artifactId>
  47. <version>${es.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.elasticsearch</groupId>
  51. <artifactId>elasticsearch</artifactId>
  52. <version>${es.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.dromara.easy-es</groupId>
  56. <artifactId>easy-es-boot-starter</artifactId>
  57. <version>${easy-es.version}</version>
  58. </dependency>
  59. <!--达梦数据库驱动-->
  60. <!-- https://mvnrepository.com/artifact/com.dameng/Dm8JdbcDriver18 -->
  61. <dependency>
  62. <groupId>com.dameng</groupId>
  63. <artifactId>Dm8JdbcDriver18</artifactId>
  64. <version>${dameng.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>cn.hutool</groupId>
  68. <artifactId>hutool-all</artifactId>
  69. <version>${hutool.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.netty</groupId>
  73. <artifactId>netty-all</artifactId>
  74. <version>${netty-all.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. <version>${lombok.version}</version>
  80. </dependency>
  81. <!-- SpringBoot的依赖配置-->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-dependencies</artifactId>
  85. <version>2.5.15</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89. <!-- 阿里数据库连接池 -->
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>druid-spring-boot-starter</artifactId>
  93. <version>${druid.version}</version>
  94. </dependency>
  95. <!-- 解析客户端操作系统、浏览器等 -->
  96. <dependency>
  97. <groupId>eu.bitwalker</groupId>
  98. <artifactId>UserAgentUtils</artifactId>
  99. <version>${bitwalker.version}</version>
  100. </dependency>
  101. <!-- pagehelper 分页插件 -->
  102. <dependency>
  103. <groupId>com.github.pagehelper</groupId>
  104. <artifactId>pagehelper-spring-boot-starter</artifactId>
  105. <version>${pagehelper.boot.version}</version>
  106. </dependency>
  107. <!-- 获取系统信息 -->
  108. <dependency>
  109. <groupId>com.github.oshi</groupId>
  110. <artifactId>oshi-core</artifactId>
  111. <version>${oshi.version}</version>
  112. </dependency>
  113. <!-- Swagger3依赖 -->
  114. <dependency>
  115. <groupId>io.springfox</groupId>
  116. <artifactId>springfox-boot-starter</artifactId>
  117. <version>${swagger.version}</version>
  118. <exclusions>
  119. <exclusion>
  120. <groupId>io.swagger</groupId>
  121. <artifactId>swagger-models</artifactId>
  122. </exclusion>
  123. </exclusions>
  124. </dependency>
  125. <!-- io常用工具类 -->
  126. <dependency>
  127. <groupId>commons-io</groupId>
  128. <artifactId>commons-io</artifactId>
  129. <version>${commons.io.version}</version>
  130. </dependency>
  131. <!-- excel工具 -->
  132. <dependency>
  133. <groupId>org.apache.poi</groupId>
  134. <artifactId>poi-ooxml</artifactId>
  135. <version>${poi.version}</version>
  136. </dependency>
  137. <!-- velocity代码生成使用模板 -->
  138. <dependency>
  139. <groupId>org.apache.velocity</groupId>
  140. <artifactId>velocity-engine-core</artifactId>
  141. <version>${velocity.version}</version>
  142. </dependency>
  143. <!-- collections工具类 -->
  144. <dependency>
  145. <groupId>commons-collections</groupId>
  146. <artifactId>commons-collections</artifactId>
  147. <version>${commons.collections.version}</version>
  148. </dependency>
  149. <!-- 阿里JSON解析器 -->
  150. <dependency>
  151. <groupId>com.alibaba.fastjson2</groupId>
  152. <artifactId>fastjson2</artifactId>
  153. <version>${fastjson.version}</version>
  154. </dependency>
  155. <!-- Token生成与解析-->
  156. <dependency>
  157. <groupId>io.jsonwebtoken</groupId>
  158. <artifactId>jjwt</artifactId>
  159. <version>${jwt.version}</version>
  160. </dependency>
  161. <!-- 验证码 -->
  162. <dependency>
  163. <groupId>pro.fessional</groupId>
  164. <artifactId>kaptcha</artifactId>
  165. <version>${kaptcha.version}</version>
  166. </dependency>
  167. <!-- 定时任务-->
  168. <dependency>
  169. <groupId>com.phm</groupId>
  170. <artifactId>phm-quartz</artifactId>
  171. <version>${phm.version}</version>
  172. </dependency>
  173. <!-- 代码生成-->
  174. <dependency>
  175. <groupId>com.phm</groupId>
  176. <artifactId>phm-generator</artifactId>
  177. <version>${phm.version}</version>
  178. </dependency>
  179. <!-- 核心模块-->
  180. <dependency>
  181. <groupId>com.phm</groupId>
  182. <artifactId>phm-framework</artifactId>
  183. <version>${phm.version}</version>
  184. </dependency>
  185. <!-- 系统模块-->
  186. <dependency>
  187. <groupId>com.phm</groupId>
  188. <artifactId>phm-system</artifactId>
  189. <version>${phm.version}</version>
  190. </dependency>
  191. <!-- 通用工具-->
  192. <dependency>
  193. <groupId>com.phm</groupId>
  194. <artifactId>phm-common</artifactId>
  195. <version>${phm.version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.phm</groupId>
  199. <artifactId>phm-manage</artifactId>
  200. <version>${phm.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.phm</groupId>
  204. <artifactId>phm-netty</artifactId>
  205. <version>${phm.version}</version>
  206. </dependency>
  207. </dependencies>
  208. </dependencyManagement>
  209. <modules>
  210. <module>phm-admin</module>
  211. <module>phm-framework</module>
  212. <module>phm-system</module>
  213. <module>phm-quartz</module>
  214. <module>phm-generator</module>
  215. <module>phm-common</module>
  216. <module>phm-manage</module>
  217. <module>phm-netty</module>
  218. </modules>
  219. <packaging>pom</packaging>
  220. <build>
  221. <plugins>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-compiler-plugin</artifactId>
  225. <version>3.1</version>
  226. <configuration>
  227. <source>${java.version}</source>
  228. <target>${java.version}</target>
  229. <encoding>${project.build.sourceEncoding}</encoding>
  230. </configuration>
  231. </plugin>
  232. </plugins>
  233. </build>
  234. <repositories>
  235. <repository>
  236. <id>public</id>
  237. <name>aliyun nexus</name>
  238. <url>https://maven.aliyun.com/repository/public</url>
  239. <releases>
  240. <enabled>true</enabled>
  241. </releases>
  242. </repository>
  243. </repositories>
  244. <pluginRepositories>
  245. <pluginRepository>
  246. <id>public</id>
  247. <name>aliyun nexus</name>
  248. <url>https://maven.aliyun.com/repository/public</url>
  249. <releases>
  250. <enabled>true</enabled>
  251. </releases>
  252. <snapshots>
  253. <enabled>false</enabled>
  254. </snapshots>
  255. </pluginRepository>
  256. </pluginRepositories>
  257. <profiles>
  258. <profile>
  259. <id>dev</id>
  260. <properties>
  261. <!-- 环境标识,需要与配置文件的名称相对应 -->
  262. <profiles.active>dev</profiles.active>
  263. <logging.level>info</logging.level>
  264. </properties>
  265. <activation>
  266. <!-- 默认环境 -->
  267. <activeByDefault>true</activeByDefault>
  268. </activation>
  269. </profile>
  270. <profile>
  271. <id>pro</id>
  272. <properties>
  273. <profiles.active>pro</profiles.active>
  274. <logging.level>warn</logging.level>
  275. </properties>
  276. </profile>
  277. <profile>
  278. <id>local</id>
  279. <properties>
  280. <profiles.active>local</profiles.active>
  281. <logging.level>warn</logging.level>
  282. </properties>
  283. </profile>
  284. </profiles>
  285. </project>