pom.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  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. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.crunii.microservice</groupId>
  6. <artifactId>microservice</artifactId>
  7. <version>${micro.version}</version>
  8. <packaging>pom</packaging>
  9. <properties>
  10. <micro.version>1.0.0-SNAPSHOT</micro.version>
  11. <crunii.version>1.8.1-snapshot</crunii.version>
  12. <maven.compiler.source>1.8</maven.compiler.source>
  13. <maven.compiler.target>1.8</maven.compiler.target>
  14. <boot.admin.version>2.0.0</boot.admin.version>
  15. <spring.plugin.version>2.0.0.RELEASE</spring.plugin.version>
  16. <boot.dependencies.version>2.6.14</boot.dependencies.version>
  17. <cloud.dependencies.version>2021.0.5</cloud.dependencies.version>
  18. <alibaba.dependencies.version>2021.0.4.0</alibaba.dependencies.version>
  19. <boot.maven.version>2.0.4.RELEASE</boot.maven.version>
  20. <jasypt.version>1.9.3</jasypt.version>
  21. <netty.version>4.1.53.Final</netty.version>
  22. <guava.version>31.0-jre</guava.version>
  23. <quartz.version>2.2.1</quartz.version>
  24. <freemarker.version>2.3.29</freemarker.version>
  25. <lang3.version>3.4</lang3.version>
  26. <disruptor.version>3.3.11</disruptor.version>
  27. <collections.version>3.2.2</collections.version>
  28. <beanutils.version>1.9.4</beanutils.version>
  29. <aviator.version>5.2.1</aviator.version>
  30. <druid.version>1.2.15</druid.version>
  31. <hutool.version>5.8.18</hutool.version>
  32. <groovy.version>4.0.15</groovy.version>
  33. <easyexcel.version>2.1.7</easyexcel.version>
  34. <moxy.version>2.7.6</moxy.version>
  35. <asm.version>5.0.4</asm.version>
  36. <redisson.version>3.19.0</redisson.version>
  37. <es.version>7.17.9</es.version>
  38. <knife4j-aggregation.version>2.0.9</knife4j-aggregation.version>
  39. <mapstruct.version>1.5.2.Final</mapstruct.version>
  40. <knife4j.version>3.0.3</knife4j.version>
  41. <swagger.core.version>1.5.22</swagger.core.version>
  42. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  43. <org.projectlombok.version>1.18.24</org.projectlombok.version>
  44. <!-- xxl-job version-->
  45. <gson.version>2.10.1</gson.version>
  46. <lombok.version>1.18.24</lombok.version>
  47. <spring.version>5.3.26</spring.version>
  48. <spring-boot.version>2.7.9</spring-boot.version>
  49. <mybatis-spring-boot-starter.version>2.3.0</mybatis-spring-boot-starter.version>
  50. <mysql-connector-j.version>8.0.32</mysql-connector-j.version>
  51. <slf4j-api.version>1.7.36</slf4j-api.version>
  52. <junit-jupiter.version>5.9.2</junit-jupiter.version>
  53. <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
  54. <groovy.version>4.0.10</groovy.version>
  55. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  56. <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
  57. <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
  58. </properties>
  59. <modules>
  60. <module>micro-common</module>
  61. <module>micro-common-component</module>
  62. <module>micro-datasource</module>
  63. <module>micro-domain</module>
  64. <module>micro-core</module>
  65. <module>micro-gateway</module>
  66. <module>micro-feign-client</module>
  67. <module>components</module>
  68. <module>services</module>
  69. <module>interfaces</module>
  70. <module>micro-doc</module>
  71. <module>micro-dependencies</module>
  72. </modules>
  73. <dependencyManagement>
  74. <dependencies>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-dependencies</artifactId>
  78. <version>${boot.dependencies.version}</version>
  79. <type>pom</type>
  80. <scope>import</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-dependencies</artifactId>
  85. <version>${cloud.dependencies.version}</version>
  86. <type>pom</type>
  87. <scope>import</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.alibaba.cloud</groupId>
  91. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  92. <version>${alibaba.dependencies.version}</version>
  93. <type>pom</type>
  94. <scope>import</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.crunii.microservice</groupId>
  98. <artifactId>micro-dependencies</artifactId>
  99. <version>${micro.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.crunii.microservice</groupId>
  105. <artifactId>micro-common-swagger</artifactId>
  106. <version>${micro.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.crunii.microservice</groupId>
  110. <artifactId>micro-common-web</artifactId>
  111. <version>${micro.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.crunii.microservice</groupId>
  115. <artifactId>micro-common</artifactId>
  116. <version>${micro.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.crunii.microservice</groupId>
  120. <artifactId>micro-datasource</artifactId>
  121. <version>${micro.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.crunii.microservice</groupId>
  125. <artifactId>micro-domain</artifactId>
  126. <version>${micro.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.crunii.microservice</groupId>
  130. <artifactId>micro-core</artifactId>
  131. <version>${micro.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.crunii.microservice</groupId>
  135. <artifactId>micro-feign-client</artifactId>
  136. <version>${micro.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.crunii.microservice</groupId>
  140. <artifactId>components</artifactId>
  141. <version>${micro.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.crunii.microservice</groupId>
  145. <artifactId>services</artifactId>
  146. <version>${micro.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.crunii.microservice</groupId>
  150. <artifactId>interfaces</artifactId>
  151. <version>${micro.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.crunii.microservice</groupId>
  155. <artifactId>service-qzh-api</artifactId>
  156. <version>${micro.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.crunii.microservice</groupId>
  160. <artifactId>service-sysmgr-api</artifactId>
  161. <version>${micro.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.crunii.microservice</groupId>
  165. <artifactId>component-redis</artifactId>
  166. <version>${micro.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>cn.hutool</groupId>
  170. <artifactId>hutool-core</artifactId>
  171. <version>${hutool.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>cn.hutool</groupId>
  175. <artifactId>hutool-all</artifactId>
  176. <version>${hutool.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.mapstruct</groupId>
  180. <artifactId>mapstruct</artifactId>
  181. <version>${mapstruct.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.mapstruct</groupId>
  185. <artifactId>mapstruct-processor</artifactId>
  186. <version>${mapstruct.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.apache.groovy</groupId>
  190. <artifactId>groovy-jsr223</artifactId>
  191. <version>${groovy.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.freemarker</groupId>
  195. <artifactId>freemarker</artifactId>
  196. <version>${freemarker.version}</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.apache.commons</groupId>
  200. <artifactId>commons-lang3</artifactId>
  201. <version>${lang3.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>commons-collections</groupId>
  205. <artifactId>commons-collections</artifactId>
  206. <version>${collections.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>commons-beanutils</groupId>
  210. <artifactId>commons-beanutils</artifactId>
  211. <version>${beanutils.version}</version>
  212. </dependency>
  213. <!-- redisson -->
  214. <dependency>
  215. <groupId>org.redisson</groupId>
  216. <artifactId>redisson-spring-boot-starter</artifactId>
  217. <version>${redisson.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.redisson</groupId>
  221. <artifactId>redisson-spring-data-26</artifactId>
  222. <version>${redisson.version}</version>
  223. </dependency>
  224. <!-- redisson end-->
  225. <dependency>
  226. <groupId>joda-time</groupId>
  227. <artifactId>joda-time</artifactId>
  228. <version>2.12.2</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>commons-logging</groupId>
  232. <artifactId>commons-logging</artifactId>
  233. <version>1.2</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.github.xiaoymin</groupId>
  237. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  238. <version>${knife4j.version}</version>
  239. </dependency>
  240. <!-- Swagger 依赖配置 -->
  241. <dependency>
  242. <groupId>io.swagger</groupId>
  243. <artifactId>swagger-annotations</artifactId>
  244. <version>${swagger.core.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>io.springfox</groupId>
  248. <artifactId>springfox-boot-starter</artifactId>
  249. <version>3.0.0</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.codehaus.janino</groupId>
  253. <artifactId>janino</artifactId>
  254. <version>3.0.16</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>io.projectreactor</groupId>
  258. <artifactId>reactor-core</artifactId>
  259. <version>3.3.0.RELEASE</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.apache.logging.log4j</groupId>
  263. <artifactId>log4j-web</artifactId>
  264. <version>2.10.0</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.slf4j</groupId>
  268. <artifactId>log4j-over-slf4j</artifactId>
  269. <version>1.7.30</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.alibaba</groupId>
  273. <artifactId>easyexcel</artifactId>
  274. <version>2.1.7</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.alibaba</groupId>
  278. <artifactId>fastjson</artifactId>
  279. <version>1.2.76</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.lmax</groupId>
  283. <artifactId>disruptor</artifactId>
  284. <version>${disruptor.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.jasypt</groupId>
  288. <artifactId>jasypt-spring31</artifactId>
  289. <version>${jasypt.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.eclipse.persistence</groupId>
  293. <artifactId>org.eclipse.persistence.moxy</artifactId>
  294. <version>${moxy.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>javax.servlet</groupId>
  298. <artifactId>javax.servlet-api</artifactId>
  299. <version>4.0.1</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.apache.curator</groupId>
  303. <artifactId>curator-recipes</artifactId>
  304. <version>${curator.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.apache.curator</groupId>
  308. <artifactId>curator-framework</artifactId>
  309. <version>${curator.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.apache.curator</groupId>
  313. <artifactId>curator-client</artifactId>
  314. <version>${curator.version}</version>
  315. <exclusions>
  316. <exclusion>
  317. <groupId>org.apache.zookeeper</groupId>
  318. <artifactId>zookeeper</artifactId>
  319. </exclusion>
  320. </exclusions>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.apache.zookeeper</groupId>
  324. <artifactId>zookeeper</artifactId>
  325. <version>${zookeeper.version}</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.quartz-scheduler</groupId>
  329. <artifactId>quartz</artifactId>
  330. <version>${quartz.version}</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>io.netty</groupId>
  334. <artifactId>netty-all</artifactId>
  335. <version>${netty.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.google.guava</groupId>
  339. <artifactId>guava</artifactId>
  340. <version>${guava.version}</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.github.bingoohuang</groupId>
  344. <artifactId>patchca</artifactId>
  345. <version>0.0.1</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>com.alibaba.nacos</groupId>
  349. <artifactId>nacos-spring-context</artifactId>
  350. <version>1.1.1</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>com.alibaba.nacos</groupId>
  354. <artifactId>nacos-client</artifactId>
  355. <version>2.0.4</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>commons-net</groupId>
  359. <artifactId>commons-net</artifactId>
  360. <version>3.6</version>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.apache.commons</groupId>
  364. <artifactId>commons-compress</artifactId>
  365. <version>1.17</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>commons-io</groupId>
  369. <artifactId>commons-io</artifactId>
  370. <version>2.4</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.apache.commons</groupId>
  374. <artifactId>commons-text</artifactId>
  375. <version>1.8</version>
  376. </dependency>
  377. <dependency>
  378. <groupId>commons-discovery</groupId>
  379. <artifactId>commons-discovery</artifactId>
  380. <version>0.2</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>org.dom4j</groupId>
  384. <artifactId>dom4j</artifactId>
  385. <version>2.1.1</version>
  386. </dependency>
  387. <dependency>
  388. <groupId>com.googlecode.aviator</groupId>
  389. <artifactId>aviator</artifactId>
  390. <version>${aviator.version}</version>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.apache.commons</groupId>
  394. <artifactId>commons-pool2</artifactId>
  395. <version>2.6.0</version>
  396. </dependency>
  397. <dependency>
  398. <groupId>mysql</groupId>
  399. <artifactId>mysql-connector-java</artifactId>
  400. <version>5.1.49</version>
  401. </dependency>
  402. <dependency>
  403. <groupId>commons-httpclient</groupId>
  404. <artifactId>commons-httpclient</artifactId>
  405. <version>3.1</version>
  406. <exclusions>
  407. <exclusion>
  408. <groupId>commons-logging</groupId>
  409. <artifactId>commons-logging</artifactId>
  410. </exclusion>
  411. <exclusion>
  412. <groupId>commons-codec</groupId>
  413. <artifactId>commons-codec</artifactId>
  414. </exclusion>
  415. </exclusions>
  416. </dependency>
  417. <dependency>
  418. <groupId>com.alibaba</groupId>
  419. <artifactId>druid</artifactId>
  420. <version>${druid.version}</version>
  421. </dependency>
  422. <dependency>
  423. <groupId>com.alibaba</groupId>
  424. <artifactId>druid-spring-boot-starter</artifactId>
  425. <version>${druid.version}</version>
  426. </dependency>
  427. <!--解决冲突-->
  428. <dependency>
  429. <groupId>io.github.openfeign</groupId>
  430. <artifactId>feign-jackson</artifactId>
  431. <version>10.2.0</version>
  432. </dependency>
  433. <dependency>
  434. <groupId>io.projectreactor.netty</groupId>
  435. <artifactId>reactor-netty</artifactId>
  436. <version>0.8.22.RELEASE</version>
  437. </dependency>
  438. <dependency>
  439. <groupId>org.ow2.asm</groupId>
  440. <artifactId>asm</artifactId>
  441. <version>${asm.version}</version>
  442. </dependency>
  443. <dependency>
  444. <groupId>org.ow2.asm</groupId>
  445. <artifactId>asm-util</artifactId>
  446. <version>${asm.version}</version>
  447. </dependency>
  448. <dependency>
  449. <groupId>commons-fileupload</groupId>
  450. <artifactId>commons-fileupload</artifactId>
  451. <version>1.4</version>
  452. </dependency>
  453. <dependency>
  454. <groupId>com.sun.xml.fastinfoset</groupId>
  455. <artifactId>FastInfoset</artifactId>
  456. <version>1.2.15</version>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.apache.geronimo.specs</groupId>
  460. <artifactId>geronimo-activation_1.1_spec</artifactId>
  461. <version>1.1</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>org.jetbrains.kotlin</groupId>
  465. <artifactId>kotlin-stdlib</artifactId>
  466. <version>1.3.72</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>com.dameng</groupId>
  470. <artifactId>DmJdbcDriver18</artifactId>
  471. <version>8.1.1.193</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>com.dameng</groupId>
  475. <artifactId>DmDialect-for-hibernate5.6</artifactId>
  476. <version>8.1.2.192</version>
  477. </dependency>
  478. <dependency>
  479. <groupId>cn.hutool</groupId>
  480. <artifactId>hutool-bom</artifactId>
  481. <version>${hutool.version}</version>
  482. <type>pom</type>
  483. <!-- 注意这里是import -->
  484. <scope>import</scope>
  485. </dependency>
  486. <dependency>
  487. <groupId>org.elasticsearch.client</groupId>
  488. <artifactId>elasticsearch-rest-client</artifactId>
  489. <version>${es.version}</version>
  490. </dependency>
  491. <dependency>
  492. <groupId>org.elasticsearch</groupId>
  493. <artifactId>elasticsearch</artifactId>
  494. <version>${es.version}</version>
  495. </dependency>
  496. <dependency>
  497. <groupId>org.elasticsearch.client</groupId>
  498. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  499. <version>${es.version}</version>
  500. </dependency>
  501. <dependency>
  502. <groupId>com.crunii</groupId>
  503. <artifactId>crunii-spring-boot-api-encrypt</artifactId>
  504. <version>${crunii.version}</version>
  505. </dependency>
  506. <dependency>
  507. <groupId>com.crunii</groupId>
  508. <artifactId>crunii-spring-boot-starter-executor</artifactId>
  509. <version>${crunii.version}</version>
  510. </dependency>
  511. </dependencies>
  512. </dependencyManagement>
  513. <build>
  514. <resources>
  515. <resource>
  516. <directory>src/main/java</directory>
  517. <includes>
  518. <include>**/*.properties</include>
  519. </includes>
  520. </resource>
  521. <resource>
  522. <directory>src/main/resources</directory>
  523. <excludes>
  524. <!-- <exclude>*.properties</exclude> -->
  525. <!-- <exclude>**/test/</exclude> -->
  526. </excludes>
  527. </resource>
  528. </resources>
  529. <plugins>
  530. <plugin>
  531. <groupId>org.apache.maven.plugins</groupId>
  532. <artifactId>maven-surefire-plugin</artifactId>
  533. <version>2.4.2</version>
  534. <configuration>
  535. <skipTests>true</skipTests>
  536. </configuration>
  537. </plugin>
  538. <plugin>
  539. <groupId>org.apache.maven.plugins</groupId>
  540. <artifactId>maven-eclipse-plugin</artifactId>
  541. <version>2.10</version>
  542. <configuration>
  543. <downloadSources>true</downloadSources>
  544. </configuration>
  545. </plugin>
  546. <plugin>
  547. <groupId>org.apache.maven.plugins</groupId>
  548. <artifactId>maven-compiler-plugin</artifactId>
  549. <version>3.7.0</version>
  550. <configuration>
  551. <compilerArgument>-Xlint:deprecation</compilerArgument>
  552. <source>1.8</source>
  553. <target>1.8</target>
  554. <encoding>${project.build.sourceEncoding}</encoding>
  555. <optimize>true</optimize>
  556. <skip>true</skip>
  557. <encoding>UTF-8</encoding>
  558. </configuration>
  559. </plugin>
  560. <plugin>
  561. <groupId>org.apache.maven.plugins</groupId>
  562. <artifactId>maven-assembly-plugin</artifactId>
  563. <version>3.1.0</version>
  564. </plugin>
  565. <plugin>
  566. <groupId>org.apache.maven.plugins</groupId>
  567. <artifactId>maven-install-plugin</artifactId>
  568. <version>2.5.2</version>
  569. </plugin>
  570. <plugin>
  571. <groupId>org.apache.maven.plugins</groupId>
  572. <artifactId>maven-dependency-plugin</artifactId>
  573. <version>3.1.0</version>
  574. </plugin>
  575. <plugin>
  576. <groupId>org.apache.maven.plugins</groupId>
  577. <artifactId>maven-resources-plugin</artifactId>
  578. <version>3.0.2</version>
  579. <configuration>
  580. <encoding>UTF-8</encoding>
  581. </configuration>
  582. </plugin>
  583. </plugins>
  584. </build>
  585. <profiles>
  586. <profile>
  587. <id>deploy</id>
  588. <build>
  589. <plugins>
  590. <plugin>
  591. <groupId>org.codehaus.mojo</groupId>
  592. <artifactId>flatten-maven-plugin</artifactId>
  593. <version>1.5.0</version>
  594. <configuration>
  595. <updatePomFile>true</updatePomFile>
  596. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  597. </configuration>
  598. <executions>
  599. <execution>
  600. <id>flatten</id>
  601. <phase>process-resources</phase>
  602. <goals>
  603. <goal>flatten</goal>
  604. </goals>
  605. </execution>
  606. <execution>
  607. <id>flatten.clean</id>
  608. <phase>clean</phase>
  609. <goals>
  610. <goal>clean</goal>
  611. </goals>
  612. </execution>
  613. </executions>
  614. </plugin>
  615. </plugins>
  616. </build>
  617. </profile>
  618. </profiles>
  619. <repositories>
  620. <repository>
  621. <id>alimaven</id>
  622. <name>aliyun maven</name>
  623. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  624. <releases>
  625. <enabled>true</enabled>
  626. </releases>
  627. <snapshots>
  628. <enabled>true</enabled>
  629. </snapshots>
  630. </repository>
  631. <repository>
  632. <id>youth-cq-release</id>
  633. <name>youth-cq-release</name>
  634. <url>http://221.229.103.55:63081/repository/maven-public/</url>
  635. </repository>
  636. </repositories>
  637. <pluginRepositories>
  638. <pluginRepository>
  639. <id>alimaven</id>
  640. <name>aliyun maven</name>
  641. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  642. <releases>
  643. <enabled>true</enabled>
  644. </releases>
  645. <snapshots>
  646. <enabled>true</enabled>
  647. </snapshots>
  648. </pluginRepository>
  649. </pluginRepositories>
  650. <!-- 发布maven私服 -->
  651. <distributionManagement>
  652. <!-- mvn clean deploy -pl crunii/crunii-module/crunii-module-flow/crunii-module-flow-api -am -Dmaven.test.skip=true -s /Users/sky198/developer/workspace/telec/doc/youth-cq/settings.xml -->
  653. <repository>
  654. <id>youth-cq-release</id>
  655. <name>youth-cq-release</name>
  656. <url>http://221.229.103.55:63081/repository/maven-releases/</url>
  657. </repository>
  658. <snapshotRepository>
  659. <id>youth-cq-snapshot</id>
  660. <name>youth-cq-snapshot</name>
  661. <url>http://221.229.103.55:63081/repository/maven-snapshots/</url>
  662. </snapshotRepository>
  663. </distributionManagement>
  664. </project>