pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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.centreproject</groupId>
  7. <artifactId>centreproject</artifactId>
  8. <version>3.9.0</version>
  9. <name>centreproject</name>
  10. <url>http://www.centreproject.vip</url>
  11. <description>Guest Experience Command Centre</description>
  12. <properties>
  13. <centreproject.version>3.9.0</centreproject.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>21</java.version>
  17. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  18. <mybatis-plus.version>3.5.6</mybatis-plus.version>
  19. <lombok.version>1.18.30</lombok.version>
  20. <druid.version>1.2.23</druid.version>
  21. <bitwalker.version>1.21</bitwalker.version>
  22. <swagger.version>3.0.0</swagger.version>
  23. <kaptcha.version>2.3.3</kaptcha.version>
  24. <fastjson.version>2.0.57</fastjson.version>
  25. <oshi.version>6.8.2</oshi.version>
  26. <xxl-job.version>3.1.0</xxl-job.version>
  27. <commons.io.version>2.19.0</commons.io.version>
  28. <poi.version>4.1.2</poi.version>
  29. <velocity.version>2.3</velocity.version>
  30. <jwt.version>0.9.1</jwt.version>
  31. <mysql.version>8.0.33</mysql.version>
  32. <jaxb-api.version>2.3.1</jaxb-api.version>
  33. <jakarta.version>6.0.0</jakarta.version>
  34. <springdoc.version>2.8.9</springdoc.version>
  35. <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
  36. <databricks.version>2.7.3</databricks.version>
  37. </properties>
  38. <!-- 依赖声明 -->
  39. <dependencyManagement>
  40. <dependencies>
  41. <!-- SpringBoot的依赖配置-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-dependencies</artifactId>
  45. <version>3.5.4</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <!-- 阿里数据库连接池 -->
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>druid-spring-boot-3-starter</artifactId>
  53. <version>${druid.version}</version>
  54. </dependency>
  55. <!-- 解析客户端操作系统、浏览器等 -->
  56. <dependency>
  57. <groupId>eu.bitwalker</groupId>
  58. <artifactId>UserAgentUtils</artifactId>
  59. <version>${bitwalker.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.github.jsqlparser</groupId>
  63. <artifactId>jsqlparser</artifactId>
  64. <version>4.9</version> <!-- 必须使用 4.9 版本 -->
  65. </dependency>
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <version>${lombok.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-boot-starter</artifactId>
  74. <version>${mybatis-plus.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.mysql</groupId>
  78. <artifactId>mysql-connector-j</artifactId>
  79. <version>${mysql.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>javax.xml.bind</groupId>
  83. <artifactId>jaxb-api</artifactId>
  84. <version>${jaxb-api.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>jakarta.servlet</groupId>
  88. <artifactId>jakarta.servlet-api</artifactId>
  89. <version>${jakarta.version}</version>
  90. </dependency>
  91. <!-- 获取系统信息 -->
  92. <dependency>
  93. <groupId>com.github.oshi</groupId>
  94. <artifactId>oshi-core</artifactId>
  95. <version>${oshi.version}</version>
  96. </dependency>
  97. <!-- spring-doc -->
  98. <dependency>
  99. <groupId>org.springdoc</groupId>
  100. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  101. <version>${springdoc.version}</version>
  102. </dependency>
  103. <!-- io常用工具类 -->
  104. <dependency>
  105. <groupId>commons-io</groupId>
  106. <artifactId>commons-io</artifactId>
  107. <version>${commons.io.version}</version>
  108. </dependency>
  109. <!-- excel工具 -->
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi-ooxml</artifactId>
  113. <version>${poi.version}</version>
  114. </dependency>
  115. <!-- velocity代码生成使用模板 -->
  116. <dependency>
  117. <groupId>org.apache.velocity</groupId>
  118. <artifactId>velocity-engine-core</artifactId>
  119. <version>${velocity.version}</version>
  120. </dependency>
  121. <!-- 阿里JSON解析器 -->
  122. <dependency>
  123. <groupId>com.alibaba.fastjson2</groupId>
  124. <artifactId>fastjson2</artifactId>
  125. <version>${fastjson.version}</version>
  126. </dependency>
  127. <!-- Token生成与解析-->
  128. <dependency>
  129. <groupId>io.jsonwebtoken</groupId>
  130. <artifactId>jjwt</artifactId>
  131. <version>${jwt.version}</version>
  132. </dependency>
  133. <!-- 验证码 -->
  134. <dependency>
  135. <groupId>pro.fessional</groupId>
  136. <artifactId>kaptcha</artifactId>
  137. <version>${kaptcha.version}</version>
  138. </dependency>
  139. <!-- 核心模块-->
  140. <dependency>
  141. <groupId>com.centreproject</groupId>
  142. <artifactId>centreproject-framework</artifactId>
  143. <version>${centreproject.version}</version>
  144. </dependency>
  145. <!-- 系统模块-->
  146. <dependency>
  147. <groupId>com.centreproject</groupId>
  148. <artifactId>centreproject-system</artifactId>
  149. <version>${centreproject.version}</version>
  150. </dependency>
  151. <!-- 通用工具-->
  152. <dependency>
  153. <groupId>com.centreproject</groupId>
  154. <artifactId>centreproject-common</artifactId>
  155. <version>${centreproject.version}</version>
  156. </dependency>
  157. <!-- xxl-job-core -->
  158. <dependency>
  159. <groupId>com.xuxueli</groupId>
  160. <artifactId>xxl-job-core</artifactId>
  161. <version>${xxl-job.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.baomidou</groupId>
  165. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  166. <version>${dynamic-datasource.version}</version>
  167. <exclusions>
  168. <exclusion>
  169. <groupId>com.baomidou</groupId>
  170. <artifactId>mybatis-plus</artifactId>
  171. </exclusion>
  172. <exclusion>
  173. <groupId>com.baomidou</groupId>
  174. <artifactId>mybatis-plus-boot-starter</artifactId>
  175. </exclusion>
  176. <exclusion>
  177. <groupId>org.mybatis</groupId>
  178. <artifactId>mybatis</artifactId>
  179. </exclusion>
  180. </exclusions>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.databricks</groupId>
  184. <artifactId>databricks-jdbc</artifactId>
  185. <version>2.7.3</version>
  186. </dependency>
  187. </dependencies>
  188. </dependencyManagement>
  189. <modules>
  190. <module>centreproject-admin</module>
  191. <module>centreproject-framework</module>
  192. <module>centreproject-system</module>
  193. <module>centreproject-common</module>
  194. <module>centreproject-job</module>
  195. </modules>
  196. <packaging>pom</packaging>
  197. <build>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-compiler-plugin</artifactId>
  202. <version>3.13.0</version>
  203. <configuration>
  204. <parameters>true</parameters>
  205. <source>${java.version}</source>
  206. <target>${java.version}</target>
  207. <encoding>${project.build.sourceEncoding}</encoding>
  208. </configuration>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-maven-plugin</artifactId>
  213. <version>3.3.0</version>
  214. </plugin>
  215. </plugins>
  216. </build>
  217. <repositories>
  218. <!-- 1. 阿里云仓库 -->
  219. <repository>
  220. <id>aliyun</id>
  221. <name>aliyun nexus</name>
  222. <url>https://maven.aliyun.com/repository/public</url>
  223. <releases>
  224. <enabled>true</enabled>
  225. </releases>
  226. </repository>
  227. <!-- 4. Maven Central -->
  228. <repository>
  229. <id>central</id>
  230. <name>Central Repository</name>
  231. <url>https://repo1.maven.org/maven2</url>
  232. <releases>
  233. <enabled>true</enabled>
  234. </releases>
  235. </repository>
  236. </repositories>
  237. <pluginRepositories>
  238. <pluginRepository>
  239. <id>aliyun</id>
  240. <name>aliyun nexus</name>
  241. <url>https://maven.aliyun.com/repository/public</url>
  242. <releases>
  243. <enabled>true</enabled>
  244. </releases>
  245. <snapshots>
  246. <enabled>false</enabled>
  247. </snapshots>
  248. </pluginRepository>
  249. </pluginRepositories>
  250. </project>