pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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.ldar</groupId>
  7. <artifactId>ldar</artifactId>
  8. <version>3.8.4</version>
  9. <packaging>jar</packaging>
  10. <name>ldar</name>
  11. <description>LDAR综合管理系统</description>
  12. <properties>
  13. <ruoyi.version>3.8.4</ruoyi.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  18. <druid.version>1.2.11</druid.version>
  19. <bitwalker.version>1.21</bitwalker.version>
  20. <swagger.version>3.0.0</swagger.version>
  21. <kaptcha.version>2.3.2</kaptcha.version>
  22. <mybatis-spring-boot.version>2.2.2</mybatis-spring-boot.version>
  23. <mybatisplus.version>3.3.1</mybatisplus.version>
  24. <pagehelper.boot.version>1.4.3</pagehelper.boot.version>
  25. <fastjson.version>2.0.14</fastjson.version>
  26. <oshi.version>6.2.2</oshi.version>
  27. <commons.io.version>2.11.0</commons.io.version>
  28. <commons.fileupload.version>1.4</commons.fileupload.version>
  29. <commons.collections.version>3.2.2</commons.collections.version>
  30. <poi.version>4.1.2</poi.version>
  31. <velocity.version>2.3</velocity.version>
  32. <jwt.version>0.9.1</jwt.version>
  33. </properties>
  34. <!-- 依赖声明 -->
  35. <dependencyManagement>
  36. <dependencies>
  37. <!-- SpringBoot的依赖配置-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-dependencies</artifactId>
  41. <version>2.5.4</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. <!-- 阿里数据库连接池 -->
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid-spring-boot-starter</artifactId>
  49. <version>${druid.version}</version>
  50. </dependency>
  51. <!-- 解析客户端操作系统、浏览器等 -->
  52. <dependency>
  53. <groupId>eu.bitwalker</groupId>
  54. <artifactId>UserAgentUtils</artifactId>
  55. <version>${bitwalker.version}</version>
  56. </dependency>
  57. <!-- pagehelper 分页插件 -->
  58. <dependency>
  59. <groupId>com.github.pagehelper</groupId>
  60. <artifactId>pagehelper-spring-boot-starter</artifactId>
  61. <version>${pagehelper.boot.version}</version>
  62. </dependency>
  63. <!-- 获取系统信息 -->
  64. <dependency>
  65. <groupId>com.github.oshi</groupId>
  66. <artifactId>oshi-core</artifactId>
  67. <version>${oshi.version}</version>
  68. </dependency>
  69. <!-- Swagger3依赖 -->
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-boot-starter</artifactId>
  73. <version>${swagger.version}</version>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>io.swagger</groupId>
  77. <artifactId>swagger-models</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. <!-- io常用工具类 -->
  82. <dependency>
  83. <groupId>commons-io</groupId>
  84. <artifactId>commons-io</artifactId>
  85. <version>${commons.io.version}</version>
  86. </dependency>
  87. <!-- 文件上传工具类 -->
  88. <dependency>
  89. <groupId>commons-fileupload</groupId>
  90. <artifactId>commons-fileupload</artifactId>
  91. <version>${commons.fileupload.version}</version>
  92. </dependency>
  93. <!-- excel工具 -->
  94. <dependency>
  95. <groupId>org.apache.poi</groupId>
  96. <artifactId>poi-ooxml</artifactId>
  97. <version>${poi.version}</version>
  98. </dependency>
  99. <!-- velocity代码生成使用模板 -->
  100. <dependency>
  101. <groupId>org.apache.velocity</groupId>
  102. <artifactId>velocity-engine-core</artifactId>
  103. <version>${velocity.version}</version>
  104. </dependency>
  105. <!-- collections工具类 -->
  106. <dependency>
  107. <groupId>commons-collections</groupId>
  108. <artifactId>commons-collections</artifactId>
  109. <version>${commons.collections.version}</version>
  110. </dependency>
  111. <!-- 阿里JSON解析器 -->
  112. <dependency>
  113. <groupId>com.alibaba.fastjson2</groupId>
  114. <artifactId>fastjson2</artifactId>
  115. <version>${fastjson.version}</version>
  116. </dependency>
  117. <!-- Token生成与解析-->
  118. <dependency>
  119. <groupId>io.jsonwebtoken</groupId>
  120. <artifactId>jjwt</artifactId>
  121. <version>${jwt.version}</version>
  122. </dependency>
  123. <!-- 验证码 -->
  124. <dependency>
  125. <groupId>com.github.penggle</groupId>
  126. <artifactId>kaptcha</artifactId>
  127. <version>${kaptcha.version}</version>
  128. </dependency>
  129. </dependencies>
  130. </dependencyManagement>
  131. <dependencies>
  132. <!-- SpringBoot集成mybatis框架 -->
  133. <dependency>
  134. <groupId>org.mybatis.spring.boot</groupId>
  135. <artifactId>mybatis-spring-boot-starter</artifactId>
  136. <version>${mybatis-spring-boot.version}</version>
  137. </dependency>
  138. <!-- SpringBoot Web容器 -->
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-web</artifactId>
  142. </dependency>
  143. <!-- SpringBoot 拦截器 -->
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-aop</artifactId>
  147. </dependency>
  148. <!-- spring-boot-devtools -->
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-devtools</artifactId>
  152. <optional>true</optional> <!-- 表示依赖不会传递 -->
  153. </dependency>
  154. <!-- 阿里数据库连接池 -->
  155. <dependency>
  156. <groupId>com.alibaba</groupId>
  157. <artifactId>druid-spring-boot-starter</artifactId>
  158. </dependency>
  159. <!-- 验证码 -->
  160. <dependency>
  161. <groupId>com.github.penggle</groupId>
  162. <artifactId>kaptcha</artifactId>
  163. <exclusions>
  164. <exclusion>
  165. <artifactId>javax.servlet-api</artifactId>
  166. <groupId>javax.servlet</groupId>
  167. </exclusion>
  168. </exclusions>
  169. </dependency>
  170. <!-- 获取系统信息 -->
  171. <dependency>
  172. <groupId>com.github.oshi</groupId>
  173. <artifactId>oshi-core</artifactId>
  174. </dependency>
  175. <!-- swagger3-->
  176. <dependency>
  177. <groupId>io.springfox</groupId>
  178. <artifactId>springfox-boot-starter</artifactId>
  179. </dependency>
  180. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  181. <dependency>
  182. <groupId>io.swagger</groupId>
  183. <artifactId>swagger-models</artifactId>
  184. <version>1.6.2</version>
  185. </dependency>
  186. <!-- Mysql驱动包 -->
  187. <dependency>
  188. <groupId>mysql</groupId>
  189. <artifactId>mysql-connector-java</artifactId>
  190. </dependency>
  191. <!-- Spring框架基本的核心工具 -->
  192. <dependency>
  193. <groupId>org.springframework</groupId>
  194. <artifactId>spring-context-support</artifactId>
  195. </dependency>
  196. <!-- SpringWeb模块 -->
  197. <dependency>
  198. <groupId>org.springframework</groupId>
  199. <artifactId>spring-web</artifactId>
  200. </dependency>
  201. <!-- spring security 安全认证 -->
  202. <dependency>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-starter-security</artifactId>
  205. </dependency>
  206. <!-- pagehelper 分页插件 -->
  207. <dependency>
  208. <groupId>com.github.pagehelper</groupId>
  209. <artifactId>pagehelper-spring-boot-starter</artifactId>
  210. </dependency>
  211. <!-- 自定义验证注解 -->
  212. <dependency>
  213. <groupId>org.springframework.boot</groupId>
  214. <artifactId>spring-boot-starter-validation</artifactId>
  215. </dependency>
  216. <!--常用工具类 -->
  217. <dependency>
  218. <groupId>org.apache.commons</groupId>
  219. <artifactId>commons-lang3</artifactId>
  220. </dependency>
  221. <!-- JSON工具类 -->
  222. <dependency>
  223. <groupId>com.fasterxml.jackson.core</groupId>
  224. <artifactId>jackson-databind</artifactId>
  225. </dependency>
  226. <!-- 阿里JSON解析器 -->
  227. <dependency>
  228. <groupId>com.alibaba.fastjson2</groupId>
  229. <artifactId>fastjson2</artifactId>
  230. </dependency>
  231. <!-- io常用工具类 -->
  232. <dependency>
  233. <groupId>commons-io</groupId>
  234. <artifactId>commons-io</artifactId>
  235. </dependency>
  236. <!-- 文件上传工具类 -->
  237. <dependency>
  238. <groupId>commons-fileupload</groupId>
  239. <artifactId>commons-fileupload</artifactId>
  240. </dependency>
  241. <!-- excel工具 -->
  242. <dependency>
  243. <groupId>org.apache.poi</groupId>
  244. <artifactId>poi-ooxml</artifactId>
  245. </dependency>
  246. <!-- yml解析器 -->
  247. <dependency>
  248. <groupId>org.yaml</groupId>
  249. <artifactId>snakeyaml</artifactId>
  250. </dependency>
  251. <!-- Token生成与解析-->
  252. <dependency>
  253. <groupId>io.jsonwebtoken</groupId>
  254. <artifactId>jjwt</artifactId>
  255. </dependency>
  256. <!-- Jaxb -->
  257. <dependency>
  258. <groupId>javax.xml.bind</groupId>
  259. <artifactId>jaxb-api</artifactId>
  260. </dependency>
  261. <!-- redis 缓存操作 -->
  262. <dependency>
  263. <groupId>org.springframework.boot</groupId>
  264. <artifactId>spring-boot-starter-data-redis</artifactId>
  265. </dependency>
  266. <!-- pool 对象池 -->
  267. <dependency>
  268. <groupId>org.apache.commons</groupId>
  269. <artifactId>commons-pool2</artifactId>
  270. </dependency>
  271. <!-- 解析客户端操作系统、浏览器等 -->
  272. <dependency>
  273. <groupId>eu.bitwalker</groupId>
  274. <artifactId>UserAgentUtils</artifactId>
  275. </dependency>
  276. <!-- servlet包 -->
  277. <dependency>
  278. <groupId>javax.servlet</groupId>
  279. <artifactId>javax.servlet-api</artifactId>
  280. </dependency>
  281. <!--velocity代码生成使用模板 -->
  282. <dependency>
  283. <groupId>org.apache.velocity</groupId>
  284. <artifactId>velocity-engine-core</artifactId>
  285. </dependency>
  286. <!-- collections工具类 -->
  287. <dependency>
  288. <groupId>commons-collections</groupId>
  289. <artifactId>commons-collections</artifactId>
  290. </dependency>
  291. <!--mybatisplus-->
  292. <dependency>
  293. <groupId>com.baomidou</groupId>
  294. <artifactId>mybatis-plus-boot-starter</artifactId>
  295. <version>${mybatisplus.version}</version>
  296. <exclusions>
  297. <exclusion>
  298. <groupId>com.baomidou</groupId>
  299. <artifactId>mybatis-plus-generator</artifactId>
  300. </exclusion>
  301. </exclusions>
  302. </dependency>
  303. <!-- 定时任务 -->
  304. <dependency>
  305. <groupId>org.quartz-scheduler</groupId>
  306. <artifactId>quartz</artifactId>
  307. <exclusions>
  308. <exclusion>
  309. <groupId>com.mchange</groupId>
  310. <artifactId>c3p0</artifactId>
  311. </exclusion>
  312. </exclusions>
  313. </dependency>
  314. </dependencies>
  315. <build>
  316. <plugins>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-compiler-plugin</artifactId>
  320. <version>3.1</version>
  321. <configuration>
  322. <source>${java.version}</source>
  323. <target>${java.version}</target>
  324. <encoding>${project.build.sourceEncoding}</encoding>
  325. </configuration>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.springframework.boot</groupId>
  329. <artifactId>spring-boot-maven-plugin</artifactId>
  330. <version>2.1.1.RELEASE</version>
  331. <configuration>
  332. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  333. </configuration>
  334. <executions>
  335. <execution>
  336. <goals>
  337. <goal>repackage</goal>
  338. </goals>
  339. </execution>
  340. </executions>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-war-plugin</artifactId>
  345. <version>3.1.0</version>
  346. <configuration>
  347. <failOnMissingWebXml>false</failOnMissingWebXml>
  348. <warName>${project.artifactId}</warName>
  349. </configuration>
  350. </plugin>
  351. </plugins>
  352. <finalName>${project.artifactId}</finalName>
  353. </build>
  354. <repositories>
  355. <repository>
  356. <id>public</id>
  357. <name>aliyun nexus</name>
  358. <url>https://maven.aliyun.com/repository/public</url>
  359. <releases>
  360. <enabled>true</enabled>
  361. </releases>
  362. </repository>
  363. </repositories>
  364. <pluginRepositories>
  365. <pluginRepository>
  366. <id>public</id>
  367. <name>aliyun nexus</name>
  368. <url>https://maven.aliyun.com/repository/public</url>
  369. <releases>
  370. <enabled>true</enabled>
  371. </releases>
  372. <snapshots>
  373. <enabled>false</enabled>
  374. </snapshots>
  375. </pluginRepository>
  376. </pluginRepositories>
  377. </project>