pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.0.5.RELEASE</version>
  8. </parent>
  9. <groupId>com.txz</groupId>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>common</artifactId>
  12. <packaging>jar</packaging>
  13. <version>1.0.0-SNAPSHOT</version>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <!-- Inherit defaults from Spring Boot -->
  18. <dependencies>
  19. <!--异维科技web引擎依赖-->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <!-- 移除tomcat容器-->
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. </exclusion>
  29. <exclusion>
  30. <artifactId>logback-core</artifactId>
  31. <groupId>ch.qos.logback</groupId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.apache.logging.log4j</groupId>
  37. <artifactId>log4j-core</artifactId>
  38. <version>2.14.1</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.logging.log4j</groupId>
  42. <artifactId>log4j-api</artifactId>
  43. <version>2.14.1</version>
  44. </dependency>
  45. <!-- 替换undertow容器 -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-undertow</artifactId>
  49. </dependency>
  50. <!--redis依赖-->
  51. <!-- <dependency>-->
  52. <!-- <groupId>org.springframework.boot</groupId>-->
  53. <!-- <artifactId>spring-boot-starter-redis</artifactId>-->
  54. <!-- <version>1.3.8.RELEASE</version>-->
  55. <!-- </dependency>-->
  56. <!-- <dependency>-->
  57. <!-- <groupId>redis.clients</groupId>-->
  58. <!-- <artifactId>jedis</artifactId>-->
  59. <!-- <version>2.9.0</version>-->
  60. <!-- </dependency>-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-actuator</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-webflux</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.retry</groupId>
  75. <artifactId>spring-retry</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-aop</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>commons-lang</groupId>
  83. <artifactId>commons-lang</artifactId>
  84. <version>2.6</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-jdbc</artifactId>
  89. </dependency>
  90. <!--常用库依赖-->
  91. <dependency>
  92. <groupId>commons-codec</groupId>
  93. <artifactId>commons-codec</artifactId>
  94. </dependency>
  95. <!-- <dependency>-->
  96. <!-- <groupId>org.apache.commons</groupId>-->
  97. <!-- <artifactId>commons-lang3</artifactId>-->
  98. <!-- <version>3.5</version>-->
  99. <!-- </dependency>-->
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-cache</artifactId>
  103. </dependency>
  104. <!-- <dependency>-->
  105. <!-- <groupId>javax.servlet</groupId>-->
  106. <!-- <artifactId>javax.servlet-api</artifactId>-->
  107. <!-- <version>3.1.0</version>-->
  108. <!-- <scope>provided</scope>-->
  109. <!-- </dependency>-->
  110. <!--MySQL JDBC驱动-->
  111. <dependency>
  112. <groupId>mysql</groupId>
  113. <artifactId>mysql-connector-java</artifactId>
  114. <scope>runtime</scope>
  115. </dependency>
  116. <!--MyBatis 及 插件依赖-->
  117. <dependency>
  118. <groupId>org.mybatis</groupId>
  119. <artifactId>mybatis-spring</artifactId>
  120. <!-- <version>1.3.1</version>-->
  121. <version>2.0.1</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.mybatis</groupId>
  125. <artifactId>mybatis</artifactId>
  126. <version>3.4.4</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>tk.mybatis</groupId>
  130. <artifactId>mapper</artifactId>
  131. <version>3.4.0</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.mybatis.spring.boot</groupId>
  135. <artifactId>mybatis-spring-boot-starter</artifactId>
  136. <!-- <version>1.1.1</version>-->
  137. <version>2.0.1</version>
  138. </dependency>
  139. <!-- 升级分页插件 -->
  140. <dependency>
  141. <groupId>com.github.pagehelper</groupId>
  142. <artifactId>pagehelper-spring-boot-starter</artifactId>
  143. <version>1.2.3</version>
  144. </dependency>
  145. <!--阿里 FastJson依赖-->
  146. <dependency>
  147. <groupId>com.alibaba</groupId>
  148. <artifactId>fastjson</artifactId>
  149. <!-- <version>1.2.22</version>-->
  150. <version>1.2.69</version>
  151. </dependency>
  152. <!--阿里 Druid Spring Boot Starter依赖-->
  153. <!-- <dependency>-->
  154. <!-- <groupId>com.alibaba</groupId>-->
  155. <!-- <artifactId>druid-spring-boot-starter</artifactId>-->
  156. <!-- &lt;!&ndash; <version>1.1.2</version>&ndash;&gt;-->
  157. <!-- <version>1.1.10</version>-->
  158. <!-- </dependency>-->
  159. <!--代码生成器依赖-->
  160. <dependency>
  161. <groupId>org.freemarker</groupId>
  162. <artifactId>freemarker</artifactId>
  163. <version>2.3.23</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mybatis.generator</groupId>
  167. <artifactId>mybatis-generator-core</artifactId>
  168. <version>1.3.5</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.github.misterchangray.mybatis.generator.plugins</groupId>
  172. <artifactId>myBatisGeneratorPlugins</artifactId>
  173. <version>1.2</version>
  174. </dependency>
  175. <!-- swagger2 -->
  176. <dependency>
  177. <groupId>io.springfox</groupId>
  178. <artifactId>springfox-swagger2</artifactId>
  179. <version>2.9.2</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>io.springfox</groupId>
  183. <artifactId>springfox-swagger-ui</artifactId>
  184. <version>2.9.2</version>
  185. </dependency>
  186. <!-- <dependency>-->
  187. <!-- <groupId>com.google.collections</groupId>-->
  188. <!-- <artifactId>google-collections</artifactId>-->
  189. <!-- <version>1.0</version>-->
  190. <!-- </dependency>-->
  191. <dependency>
  192. <groupId>com.github.xiaoymin</groupId>
  193. <artifactId>swagger-bootstrap-ui</artifactId>
  194. <version>1.9.6</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>io.swagger</groupId>
  198. <artifactId>swagger-annotations</artifactId>
  199. <scope>compile</scope>
  200. <version>1.5.22</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>io.swagger</groupId>
  204. <artifactId>swagger-models</artifactId>
  205. <version>1.5.22</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.spring4all</groupId>
  209. <artifactId>swagger-spring-boot-starter</artifactId>
  210. <version>1.8.0.RELEASE</version>
  211. <scope>compile</scope>
  212. </dependency>
  213. <!--异维科技cloud包依赖-->
  214. <!-- <dependency>-->
  215. <!-- <groupId>org.springframework.cloud</groupId>-->
  216. <!-- <artifactId>spring-cloud-starter-dubbo</artifactId>-->
  217. <!-- <version>0.2.2.RELEASE</version>-->
  218. <!-- </dependency>-->
  219. <dependency>
  220. <groupId>org.springframework.cloud</groupId>
  221. <artifactId>spring-cloud-starter-openfeign</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.springframework.cloud</groupId>
  225. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.springframework.cloud</groupId>
  229. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  230. </dependency>
  231. <!-- <dependency>-->
  232. <!-- <groupId>cn.hutool</groupId>-->
  233. <!-- <artifactId>hutool-all</artifactId>-->
  234. <!-- <version>5.0.1</version>-->
  235. <!-- </dependency>-->
  236. <dependency>
  237. <groupId>org.apache.poi</groupId>
  238. <artifactId>poi-ooxml</artifactId>
  239. <version>4.1.2</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.projectlombok</groupId>
  243. <artifactId>lombok</artifactId>
  244. <version>1.18.10</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.qcloud</groupId>
  248. <artifactId>cos_api</artifactId>
  249. <version>5.6.8</version>
  250. </dependency>
  251. <!-- <dependency>-->
  252. <!-- <groupId>org.apache.dubbo</groupId>-->
  253. <!-- <artifactId>dubbo-registry-nacos</artifactId>-->
  254. <!-- <version>2.7.1</version>-->
  255. <!-- </dependency>-->
  256. <!-- MQ -->
  257. <!-- <dependency>-->
  258. <!-- <groupId>org.springframework.boot</groupId>-->
  259. <!-- <artifactId>spring-boot-starter-amqp</artifactId>-->
  260. <!-- </dependency>-->
  261. <dependency>
  262. <groupId>org.apache.rocketmq</groupId>
  263. <artifactId>rocketmq-spring-boot-starter</artifactId>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.dubbo</groupId>
  267. <artifactId>dubbo-spring-boot-starter</artifactId>
  268. </dependency>
  269. <!-- dubbo序列化方式 -->
  270. <dependency>
  271. <groupId>com.esotericsoftware</groupId>
  272. <artifactId>kryo</artifactId>
  273. <version>4.0.2</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>de.javakaffee</groupId>
  277. <artifactId>kryo-serializers</artifactId>
  278. <version>0.45</version>
  279. </dependency>
  280. <!-- Dubbo -->
  281. <dependency>
  282. <groupId>org.apache.dubbo</groupId>
  283. <artifactId>dubbo</artifactId>
  284. </dependency>
  285. <!-- Dubbo Registry Nacos -->
  286. <dependency>
  287. <groupId>org.apache.dubbo</groupId>
  288. <artifactId>dubbo-registry-nacos</artifactId>
  289. <version>2.7.1</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.alibaba.nacos</groupId>
  293. <artifactId>nacos-client</artifactId>
  294. <exclusions>
  295. <exclusion>
  296. <groupId>com.google.guava</groupId>
  297. <artifactId>guava</artifactId>
  298. </exclusion>
  299. </exclusions>
  300. </dependency>
  301. </dependencies>
  302. <!-- <distributionManagement>-->
  303. <!-- <snapshotRepository>-->
  304. <!-- <uniqueVersion>false</uniqueVersion>-->
  305. <!-- <id>nexus-snapshots</id>-->
  306. <!-- <name>Nexus Snapshot Repository</name>-->
  307. <!-- <url>http://124.220.229.80:9091/repository/maven-snapshots/</url>-->
  308. <!-- <layout>default</layout>-->
  309. <!-- </snapshotRepository>-->
  310. <!-- <repository>-->
  311. <!-- <id>nexus-releases</id>-->
  312. <!-- <name>maven-releases</name>-->
  313. <!-- <url>http://124.220.229.80:9091/repository/maven-releases/</url>-->
  314. <!-- </repository>-->
  315. <!-- </distributionManagement>-->
  316. <distributionManagement>
  317. <snapshotRepository>
  318. <id>nexus-snapshots</id>
  319. <name>Nexus Snapshot Repository</name>
  320. <url>http://124.220.229.80:9091/repository/maven-snapshots/</url>
  321. <!-- 删除uniqueVersion和layout,使用默认值即可 -->
  322. </snapshotRepository>
  323. <repository>
  324. <id>nexus-releases</id>
  325. <name>Nexus Release Repository</name>
  326. <url>http://124.220.229.80:9091/repository/maven-releases/</url>
  327. </repository>
  328. </distributionManagement>
  329. <dependencyManagement>
  330. <dependencies>
  331. <dependency>
  332. <groupId>org.springframework.cloud</groupId>
  333. <artifactId>spring-cloud-dependencies</artifactId>
  334. <version>Finchley.SR1</version>
  335. <type>pom</type>
  336. <scope>import</scope>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.springframework.cloud</groupId>
  340. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  341. <version>0.2.2.RELEASE</version>
  342. <type>pom</type>
  343. <scope>import</scope>
  344. </dependency>
  345. </dependencies>
  346. </dependencyManagement>
  347. <build>
  348. <plugins>
  349. <plugin>
  350. <groupId>org.springframework.boot</groupId>
  351. <artifactId>spring-boot-maven-plugin</artifactId>
  352. <configuration>
  353. <classifier>exec</classifier>
  354. </configuration>
  355. <executions>
  356. <execution>
  357. <goals>
  358. <goal>repackage</goal>
  359. </goals>
  360. </execution>
  361. </executions>
  362. </plugin>
  363. <plugin>
  364. <artifactId>maven-compiler-plugin</artifactId>
  365. <configuration>
  366. <source>${java.version}</source>
  367. <target>${java.version}</target>
  368. <encoding>UTF-8</encoding>
  369. </configuration>
  370. </plugin>
  371. </plugins>
  372. </build>
  373. </project>