pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.7.18</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.mirage</groupId>
  13. <artifactId>mirage-server</artifactId>
  14. <packaging>pom</packaging>
  15. <version>1.0-SNAPSHOT</version>
  16. <modules>
  17. <module>mirage-core</module>
  18. <module>mirage-service</module>
  19. </modules>
  20. <properties>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <java.version>11.0.20</java.version>
  24. <common.lang3.version>3.7</common.lang3.version>
  25. <commons.codec.version>1.11</commons.codec.version>
  26. <dubbo.boot.version>2.7.11</dubbo.boot.version>
  27. <gson.version>2.8.5</gson.version>
  28. <guava.version>26.0-jre</guava.version>
  29. <jedis.version>2.9.0</jedis.version>
  30. <commons.pool2.version>2.11.1</commons.pool2.version>
  31. <jackson.version>2.9.5</jackson.version>
  32. <spring.version>5.0.7.RELEASE</spring.version>
  33. <spring.boot.version>2.7.18</spring.boot.version>
  34. <slf4j.api.version>1.7.25</slf4j.api.version>
  35. <logback.version>1.2.3</logback.version>
  36. <caffeine.version>2.6.2</caffeine.version>
  37. <netty.version>4.1.16.Final</netty.version>
  38. <mysql-connector-java.version>8.0.33</mysql-connector-java.version>
  39. <mysql-connector-j.version>9.2.0</mysql-connector-j.version>
  40. <lombok.version>1.18.24</lombok.version>
  41. <mybatis-boot.version>1.3.2</mybatis-boot.version>
  42. <druid-boot.version>1.2.18</druid-boot.version>
  43. <lbd.version>1.1.3</lbd.version>
  44. <http-client.version>4.5.6</http-client.version>
  45. <http-core.version>4.4.10</http-core.version>
  46. <commons-io.version>2.6</commons-io.version>
  47. <dubbo.version>2.7.11</dubbo.version>
  48. <sentry-javaagent-collector.version>1.2.41</sentry-javaagent-collector.version>
  49. <pagehelper.version>1.4.6</pagehelper.version>
  50. <jdk.version>1.8</jdk.version>
  51. <account-filter.version>3.10.2</account-filter.version>
  52. <elk.version>1.2.0</elk.version>
  53. <commons-pool>2.11.1</commons-pool>
  54. <nos-sdk.version>1.3.6</nos-sdk.version>
  55. <easyexcel.version>2.2.7</easyexcel.version>
  56. <poi.version>2.2.7</poi.version>
  57. <user-agent.version>1.20</user-agent.version>
  58. <tomcat-embed-core.version>8.5.31</tomcat-embed-core.version>
  59. <mssql.version>12.4.2.jre11</mssql.version>
  60. </properties>
  61. <dependencies>
  62. <dependency>
  63. <groupId>junit</groupId>
  64. <artifactId>junit</artifactId>
  65. <version>3.8.1</version>
  66. <scope>test</scope>
  67. </dependency>
  68. </dependencies>
  69. <dependencyManagement>
  70. <dependencies>
  71. <dependency>
  72. <groupId>com.mirage.core</groupId>
  73. <artifactId>mirage-core</artifactId>
  74. <version>${project.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-dependencies</artifactId>
  79. <version>${spring.boot.version}</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. <!-- <dependency>-->
  84. <!-- <groupId>org.springframework</groupId>-->
  85. <!-- <artifactId>spring-web</artifactId>-->
  86. <!-- <version>${spring.version}</version>-->
  87. <!-- </dependency>-->
  88. <!-- <dependency>-->
  89. <!-- <groupId>org.apache.tomcat.embed</groupId>-->
  90. <!-- <artifactId>tomcat-embed-core</artifactId>-->
  91. <!-- <version>${tomcat-embed-core.version}</version>-->
  92. <!-- </dependency>-->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-amqp</artifactId>
  96. <version>${spring.boot.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-data-redis</artifactId>
  101. <version>${spring.boot.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-web</artifactId>
  106. <version>${spring.boot.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-aop</artifactId>
  111. <version>${spring.boot.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.youdao</groupId>
  115. <artifactId>account-filter-spring-boot-starter</artifactId>
  116. <version>${account-filter.version}</version>
  117. </dependency>
  118. <!--- easy api-->
  119. <dependency>
  120. <groupId>com.alibaba</groupId>
  121. <artifactId>easyexcel</artifactId>
  122. <version>${easyexcel.version}</version>
  123. </dependency>
  124. <!-- jackson -->
  125. <!-- <dependency>-->
  126. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  127. <!-- <artifactId>jackson-annotations</artifactId>-->
  128. <!-- <version>${jackson.version}</version>-->
  129. <!-- </dependency>-->
  130. <!-- <dependency>-->
  131. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  132. <!-- <artifactId>jackson-core</artifactId>-->
  133. <!-- <version>${jackson.version}</version>-->
  134. <!-- </dependency>-->
  135. <!-- <dependency>-->
  136. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  137. <!-- <artifactId>jackson-databind</artifactId>-->
  138. <!-- <version>${jackson.version}</version>-->
  139. <!-- </dependency>-->
  140. <!-- dubbo-->
  141. <dependency>
  142. <groupId>org.apache.dubbo</groupId>
  143. <artifactId>dubbo-spring-boot-starter</artifactId>
  144. <version>${dubbo.boot.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.dubbo</groupId>
  148. <artifactId>dubbo-dependencies-zookeeper</artifactId>
  149. <version>${dubbo.boot.version}</version>
  150. <type>pom</type>
  151. </dependency>
  152. <!-- <dependency>-->
  153. <!-- <groupId>io.netty</groupId>-->
  154. <!-- <artifactId>netty-all</artifactId>-->
  155. <!-- <version>${netty.version}</version>-->
  156. <!-- </dependency>-->
  157. <dependency>
  158. <groupId>javax.servlet</groupId>
  159. <artifactId>javax.servlet-api</artifactId>
  160. <version>${servlet-api.verdsion}</version>
  161. </dependency>
  162. <!-- gson-->
  163. <dependency>
  164. <groupId>com.google.code.gson</groupId>
  165. <artifactId>gson</artifactId>
  166. <version>${gson.version}</version>
  167. </dependency>
  168. <!-- guava-->
  169. <dependency>
  170. <groupId>com.google.guava</groupId>
  171. <artifactId>guava</artifactId>
  172. <version>${guava.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>com.github.ben-manes.caffeine</groupId>
  176. <artifactId>caffeine</artifactId>
  177. <version>${caffeine.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.github.ben-manes.caffeine</groupId>
  181. <artifactId>guava</artifactId>
  182. <version>${caffeine.version}</version>
  183. </dependency>
  184. <!-- redis-->
  185. <dependency>
  186. <groupId>redis.clients</groupId>
  187. <artifactId>jedis</artifactId>
  188. <version>${jedis.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.apache.commons</groupId>
  192. <artifactId>commons-lang3</artifactId>
  193. <version>${common.lang3.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>commons-codec</groupId>
  197. <artifactId>commons-codec</artifactId>
  198. <version>${commons.codec.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.slf4j</groupId>
  202. <artifactId>slf4j-api</artifactId>
  203. <version>${slf4j.api.version}</version>
  204. </dependency>
  205. <!-- <dependency>-->
  206. <!-- <groupId>mysql</groupId>-->
  207. <!-- <artifactId>mysql-connector-java</artifactId>-->
  208. <!-- <version>${mysql-connector-java.version}</version>-->
  209. <!-- </dependency>-->
  210. <dependency>
  211. <groupId>com.mysql</groupId>
  212. <artifactId>mysql-connector-j</artifactId>
  213. <version>${mysql-connector-java.version}</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.mybatis.spring.boot</groupId>
  217. <artifactId>mybatis-spring-boot-starter</artifactId>
  218. <version>${mybatis-boot.version}</version>
  219. </dependency>
  220. <!-- SQL Server 驱动 -->
  221. <dependency>
  222. <groupId>com.microsoft.sqlserver</groupId>
  223. <artifactId>mssql-jdbc</artifactId>
  224. <version>${mssql.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.projectlombok</groupId>
  228. <artifactId>lombok</artifactId>
  229. <version>${lombok.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.alibaba</groupId>
  233. <artifactId>druid-spring-boot-starter</artifactId>
  234. <version>${druid-boot.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.apache.httpcomponents</groupId>
  238. <artifactId>httpcore</artifactId>
  239. <version>${http-core.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.apache.httpcomponents</groupId>
  243. <artifactId>httpclient</artifactId>
  244. <version>${http-client.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>commons-io</groupId>
  248. <artifactId>commons-io</artifactId>
  249. <version>${commons-io.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.apache.dubbo</groupId>
  253. <artifactId>dubbo</artifactId>
  254. <version>${dubbo.version}</version>
  255. </dependency>
  256. <!-- 分页插件 -->
  257. <dependency>
  258. <groupId>com.github.pagehelper</groupId>
  259. <artifactId>pagehelper-spring-boot-starter</artifactId>
  260. <version>${pagehelper.version}</version>
  261. <exclusions>
  262. <exclusion>
  263. <artifactId>mybatis-spring-boot-starter</artifactId>
  264. <groupId>org.mybatis.spring.boot</groupId>
  265. </exclusion>
  266. <exclusion>
  267. <artifactId>spring-boot-starter</artifactId>
  268. <groupId>org.springframework.boot</groupId>
  269. </exclusion>
  270. </exclusions>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.apache.commons</groupId>
  274. <artifactId>commons-pool2</artifactId>
  275. <version>${commons.pool2.version}</version>
  276. </dependency>
  277. <dependency>
  278. <groupId>ch.qos.logback</groupId>
  279. <artifactId>logback-classic</artifactId>
  280. <version>${logback.version}</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.apache.poi</groupId>
  284. <artifactId>poi</artifactId>
  285. <version>3.17</version>
  286. </dependency>
  287. <dependency>
  288. <groupId>eu.bitwalker</groupId>
  289. <artifactId>UserAgentUtils</artifactId>
  290. <version>${user-agent.version}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>com.example</groupId>
  294. <artifactId>apifox-sdk</artifactId>
  295. <version>1.0.0</version>
  296. </dependency>
  297. </dependencies>
  298. </dependencyManagement>
  299. <!-- <build>-->
  300. <!-- <plugins>-->
  301. <!-- &lt;!&ndash; 资源文件拷贝插件 &ndash;&gt;-->
  302. <!-- <plugin>-->
  303. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  304. <!-- <artifactId>maven-resources-plugin</artifactId>-->
  305. <!-- <configuration>-->
  306. <!-- <encoding>UTF-8</encoding>-->
  307. <!-- </configuration>-->
  308. <!-- </plugin>-->
  309. <!-- &lt;!&ndash; java编译插件 &ndash;&gt;-->
  310. <!-- <plugin>-->
  311. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  312. <!-- <artifactId>maven-compiler-plugin</artifactId>-->
  313. <!-- <configuration>-->
  314. <!-- <source>1.8</source>-->
  315. <!-- <target>1.8</target>-->
  316. <!-- <encoding>UTF-8</encoding>-->
  317. <!-- </configuration>-->
  318. <!-- </plugin>-->
  319. <!-- <plugin>-->
  320. <!-- <groupId>org.springframework.boot</groupId>-->
  321. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  322. <!-- </plugin>-->
  323. <!-- </plugins>-->
  324. <!-- </build>-->
  325. <!-- <repositories>-->
  326. <!-- <repository>-->
  327. <!-- <snapshots>-->
  328. <!-- <enabled>false</enabled>-->
  329. <!-- </snapshots>-->
  330. <!-- <id>libs-releases</id>-->
  331. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  332. <!-- </repository>-->
  333. <!-- <repository>-->
  334. <!-- <id>libs-snapshots</id>-->
  335. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  336. <!-- <snapshots>-->
  337. <!-- <updatePolicy>always</updatePolicy>-->
  338. <!-- </snapshots>-->
  339. <!-- </repository>-->
  340. <!-- <repository>-->
  341. <!-- <snapshots>-->
  342. <!-- <enabled>false</enabled>-->
  343. <!-- </snapshots>-->
  344. <!-- <id>google-releases</id>-->
  345. <!-- <name>Google Releases</name>-->
  346. <!-- <url>https://oss.sonatype.org/content/repositories/google-releases</url>-->
  347. <!-- </repository>-->
  348. <!-- <repository>-->
  349. <!-- <id>spring-snapshots</id>-->
  350. <!-- <url>https://repo.spring.io/snapshot</url>-->
  351. <!-- <snapshots>-->
  352. <!-- <enabled>true</enabled>-->
  353. <!-- </snapshots>-->
  354. <!-- </repository>-->
  355. <!-- <repository>-->
  356. <!-- <id>spring-milestones</id>-->
  357. <!-- <url>https://repo.spring.io/milestones</url>-->
  358. <!-- </repository>-->
  359. <!-- <repository>-->
  360. <!-- <id>spring-releases</id>-->
  361. <!-- <name>Spring Releases</name>-->
  362. <!-- <url>https://repo.spring.io/releases</url>-->
  363. <!-- <snapshots>-->
  364. <!-- <enabled>false</enabled>-->
  365. <!-- </snapshots>-->
  366. <!-- </repository>-->
  367. <!-- </repositories>-->
  368. <repositories>
  369. <repository>
  370. <id>public</id>
  371. <name>aliyun nexus</name>
  372. <url>https://maven.aliyun.com/repository/public</url>
  373. <releases>
  374. <enabled>true</enabled>
  375. </releases>
  376. </repository>
  377. </repositories>
  378. <pluginRepositories>
  379. <pluginRepository>
  380. <id>public</id>
  381. <name>aliyun nexus</name>
  382. <url>https://maven.aliyun.com/repository/public</url>
  383. <releases>
  384. <enabled>true</enabled>
  385. </releases>
  386. <snapshots>
  387. <enabled>false</enabled>
  388. </snapshots>
  389. </pluginRepository>
  390. </pluginRepositories>
  391. <!-- <distributionManagement>-->
  392. <!-- <repository>-->
  393. <!-- <id>libs-releases</id>-->
  394. <!-- <name>NetEase Maven Repository</name>-->
  395. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  396. <!-- </repository>-->
  397. <!-- <snapshotRepository>-->
  398. <!-- <id>libs-snapshots</id>-->
  399. <!-- <name>NetEase Maven Repository-snapshots</name>-->
  400. <!-- <url>https://maven.aliyun.com/repository/public</url>-->
  401. <!-- </snapshotRepository>-->
  402. <!-- </distributionManagement>-->
  403. </project>