pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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.newcpms</groupId>
  7. <artifactId>newcpms-sh</artifactId>
  8. <version>3.8.7</version>
  9. <name>newcpms-sh</name>
  10. <description>cpms管理系统</description>
  11. <properties>
  12. <ruoyi.version>3.8.7</ruoyi.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.20</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.7</pagehelper.boot.version>
  22. <fastjson.version>2.0.43</fastjson.version>
  23. <oshi.version>6.5.0</oshi.version>
  24. <commons.io.version>2.13.0</commons.io.version>
  25. <poi.version>4.1.2</poi.version>
  26. <velocity.version>2.3</velocity.version>
  27. <jwt.version>0.9.1</jwt.version>
  28. </properties>
  29. <!-- 依赖声明 -->
  30. <dependencyManagement>
  31. <dependencies>
  32. <!-- SpringBoot的依赖配置-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-dependencies</artifactId>
  36. <version>2.5.15</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. <!-- 阿里数据库连接池 -->
  41. <dependency>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>druid-spring-boot-starter</artifactId>
  44. <version>${druid.version}</version>
  45. </dependency>
  46. <!-- 解析客户端操作系统、浏览器等 -->
  47. <dependency>
  48. <groupId>eu.bitwalker</groupId>
  49. <artifactId>UserAgentUtils</artifactId>
  50. <version>${bitwalker.version}</version>
  51. </dependency>
  52. <!-- pagehelper 分页插件 -->
  53. <dependency>
  54. <groupId>com.github.pagehelper</groupId>
  55. <artifactId>pagehelper-spring-boot-starter</artifactId>
  56. <version>${pagehelper.boot.version}</version>
  57. </dependency>
  58. <!-- 获取系统信息 -->
  59. <dependency>
  60. <groupId>com.github.oshi</groupId>
  61. <artifactId>oshi-core</artifactId>
  62. <version>${oshi.version}</version>
  63. </dependency>
  64. <!-- Swagger3依赖 -->
  65. <dependency>
  66. <groupId>io.springfox</groupId>
  67. <artifactId>springfox-boot-starter</artifactId>
  68. <version>${swagger.version}</version>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>io.swagger</groupId>
  72. <artifactId>swagger-models</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <!-- io常用工具类 -->
  77. <dependency>
  78. <groupId>commons-io</groupId>
  79. <artifactId>commons-io</artifactId>
  80. <version>${commons.io.version}</version>
  81. </dependency>
  82. <!-- excel工具 -->
  83. <dependency>
  84. <groupId>org.apache.poi</groupId>
  85. <artifactId>poi-ooxml</artifactId>
  86. <version>${poi.version}</version>
  87. </dependency>
  88. <!-- velocity代码生成使用模板 -->
  89. <dependency>
  90. <groupId>org.apache.velocity</groupId>
  91. <artifactId>velocity-engine-core</artifactId>
  92. <version>${velocity.version}</version>
  93. </dependency>
  94. <!-- 阿里JSON解析器 -->
  95. <dependency>
  96. <groupId>com.alibaba.fastjson2</groupId>
  97. <artifactId>fastjson2</artifactId>
  98. <version>${fastjson.version}</version>
  99. </dependency>
  100. <!-- Token生成与解析-->
  101. <dependency>
  102. <groupId>io.jsonwebtoken</groupId>
  103. <artifactId>jjwt</artifactId>
  104. <version>${jwt.version}</version>
  105. </dependency>
  106. <!-- 验证码 -->
  107. <dependency>
  108. <groupId>pro.fessional</groupId>
  109. <artifactId>kaptcha</artifactId>
  110. <version>${kaptcha.version}</version>
  111. </dependency>
  112. <!-- 定时任务-->
  113. <dependency>
  114. <groupId>com.newcpms</groupId>
  115. <artifactId>quartz</artifactId>
  116. <version>${ruoyi.version}</version>
  117. </dependency>
  118. <!-- 代码生成-->
  119. <dependency>
  120. <groupId>com.newcpms</groupId>
  121. <artifactId>generator</artifactId>
  122. <version>${ruoyi.version}</version>
  123. </dependency>
  124. <!-- 核心模块-->
  125. <dependency>
  126. <groupId>com.newcpms</groupId>
  127. <artifactId>framework</artifactId>
  128. <version>${ruoyi.version}</version>
  129. </dependency>
  130. <!-- 系统模块-->
  131. <dependency>
  132. <groupId>com.newcpms</groupId>
  133. <artifactId>system</artifactId>
  134. <version>${ruoyi.version}</version>
  135. </dependency>
  136. <!-- 通用工具-->
  137. <dependency>
  138. <groupId>com.newcpms</groupId>
  139. <artifactId>common</artifactId>
  140. <version>${ruoyi.version}</version>
  141. </dependency>
  142. </dependencies>
  143. </dependencyManagement>
  144. <modules>
  145. <module>admin</module>
  146. <module>framework</module>
  147. <module>system</module>
  148. <module>quartz</module>
  149. <module>generator</module>
  150. <module>common</module>
  151. </modules>
  152. <packaging>pom</packaging>
  153. <build>
  154. <plugins>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-compiler-plugin</artifactId>
  158. <version>3.1</version>
  159. <configuration>
  160. <source>${java.version}</source>
  161. <target>${java.version}</target>
  162. <encoding>${project.build.sourceEncoding}</encoding>
  163. </configuration>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. <repositories>
  168. <repository>
  169. <id>public</id>
  170. <name>aliyun nexus</name>
  171. <url>https://maven.aliyun.com/repository/public</url>
  172. <releases>
  173. <enabled>true</enabled>
  174. </releases>
  175. </repository>
  176. </repositories>
  177. <pluginRepositories>
  178. <pluginRepository>
  179. <id>public</id>
  180. <name>aliyun nexus</name>
  181. <url>https://maven.aliyun.com/repository/public</url>
  182. <releases>
  183. <enabled>true</enabled>
  184. </releases>
  185. <snapshots>
  186. <enabled>false</enabled>
  187. </snapshots>
  188. </pluginRepository>
  189. </pluginRepositories>
  190. </project>