pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ym</groupId>
  5. <artifactId>mec</artifactId>
  6. <version>1.0</version>
  7. <packaging>pom</packaging>
  8. <name>mec</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. <maven.test.skip>true</maven.test.skip>
  16. <spring-boot.version>2.1.6.RELEASE</spring-boot.version>
  17. <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
  18. <zipkin.version>2.12.2</zipkin.version>
  19. <google.zxing.version>3.4.0</google.zxing.version>
  20. <redisson.version>3.16.4</redisson.version>
  21. <maven.test.skip>true</maven.test.skip>
  22. </properties>
  23. <dependencyManagement>
  24. <dependencies>
  25. <!--<dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  28. <version>2.2.1.RELEASE</version>
  29. </dependency>-->
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  33. <version>0.9.0.RELEASE</version>
  34. </dependency>
  35. <!--֧��Spring Boot 2.1.X -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>${spring-boot.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-log4j2</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-dependencies</artifactId>
  52. <version>${spring-cloud.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. <exclusions>
  56. <exclusion>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-log4j2</artifactId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. <dependency>
  63. <groupId>de.codecentric</groupId>
  64. <artifactId>spring-boot-admin-starter-client</artifactId>
  65. <version>2.1.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>de.codecentric</groupId>
  69. <artifactId>spring-boot-admin-starter-server</artifactId>
  70. <version>2.1.6</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.ym</groupId>
  74. <artifactId>common-core</artifactId>
  75. <version>1.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.ym</groupId>
  79. <artifactId>mec-auth-api</artifactId>
  80. <version>1.0</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.ym</groupId>
  84. <artifactId>mec-client-api</artifactId>
  85. <version>1.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.ym</groupId>
  89. <artifactId>mec-biz</artifactId>
  90. <version>1.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.ym</groupId>
  94. <artifactId>mec-util</artifactId>
  95. <version>1.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.yonge.mongodb</groupId>
  99. <artifactId>mongo-db</artifactId>
  100. <version>1.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.yonge.datasource</groupId>
  104. <artifactId>dynamic-datasource</artifactId>
  105. <version>1.0</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.yonge.log</groupId>
  109. <artifactId>audit-log</artifactId>
  110. <version>1.0</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.ym</groupId>
  114. <artifactId>mec-thirdparty</artifactId>
  115. <version>1.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.ym</groupId>
  119. <artifactId>snakerflowy</artifactId>
  120. <version>1.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.zipkin.java</groupId>
  124. <artifactId>zipkin-server</artifactId>
  125. <version>${zipkin.version}</version>
  126. <!--�ų�log4j2 �����logback��ͻ���� -->
  127. <exclusions>
  128. <exclusion>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-log4j2</artifactId>
  131. </exclusion>
  132. </exclusions>
  133. </dependency>
  134. <dependency>
  135. <groupId>io.zipkin.java</groupId>
  136. <artifactId>zipkin-autoconfigure-ui</artifactId>
  137. <version>${zipkin.version}</version>
  138. </dependency>
  139. <!-- ʹ����Ϣ�ķ�ʽ�ռ����ݣ�ʹ��rabbitmq�� -->
  140. <dependency>
  141. <groupId>io.zipkin.java</groupId>
  142. <artifactId>zipkin-autoconfigure-collector-rabbitmq</artifactId>
  143. <version>${zipkin.version}</version>
  144. </dependency>
  145. <!-- ���� elasticsearch �洢���� -->
  146. <dependency>
  147. <groupId>io.zipkin.java</groupId>
  148. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  149. <version>2.8.4</version>
  150. </dependency>
  151. <!-- swagger-spring-boot -->
  152. <dependency>
  153. <groupId>com.spring4all</groupId>
  154. <artifactId>swagger-spring-boot-starter</artifactId>
  155. <version>1.9.0.RELEASE</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.github.xiaoymin</groupId>
  159. <artifactId>swagger-bootstrap-ui</artifactId>
  160. <version>1.9.5</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.alibaba</groupId>
  164. <artifactId>druid-spring-boot-starter</artifactId>
  165. <version>1.1.10</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.mybatis.spring.boot</groupId>
  169. <artifactId>mybatis-spring-boot-starter</artifactId>
  170. <version>1.3.2</version>
  171. </dependency>
  172. <!--<dependency>
  173. <groupId>org.springframework.social</groupId>
  174. <artifactId>spring-social-security</artifactId>
  175. <version>1.1.6.RELEASE</version>
  176. </dependency>-->
  177. <dependency>
  178. <groupId>commons-beanutils</groupId>
  179. <artifactId>commons-beanutils</artifactId>
  180. <version>1.9.2</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.google.zxing</groupId>
  184. <artifactId>core</artifactId>
  185. <version>${google.zxing.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.google.zxing</groupId>
  189. <artifactId>javase</artifactId>
  190. <version>${google.zxing.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.vdurmont</groupId>
  194. <artifactId>emoji-java</artifactId>
  195. <version>5.1.1</version>
  196. </dependency>
  197. <!--maven compile plugins-->
  198. <dependency>
  199. <groupId>com.spotify</groupId>
  200. <artifactId>docker-maven-plugin</artifactId>
  201. <version>1.2.2</version>
  202. </dependency>
  203. <!--修复依赖冲突-->
  204. <dependency>
  205. <groupId>org.jetbrains.kotlin</groupId>
  206. <artifactId>kotlin-stdlib</artifactId>
  207. <version>1.3.70</version>
  208. </dependency>
  209. </dependencies>
  210. </dependencyManagement>
  211. <repositories>
  212. <repository>
  213. <id>anigiomaven</id>
  214. <name>AnigioMaven</name>
  215. <url>https://mvn.dayaedu.com/repository/maven-public/</url>
  216. </repository>
  217. <repository>
  218. <id>alimaven</id>
  219. <name>aliyun maven</name>
  220. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  221. </repository>
  222. <repository>
  223. <id>spring-milestones</id>
  224. <name>Spring Milestones</name>
  225. <url>https://repo.spring.io/libs-milestone</url>
  226. <snapshots>
  227. <enabled>false</enabled>
  228. </snapshots>
  229. </repository>
  230. <repository>
  231. <id>sonatype-nexus-snapshots</id>
  232. <name>Sonatype Nexus Snapshots</name>
  233. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  234. <snapshots>
  235. <enabled>true</enabled>
  236. </snapshots>
  237. <releases>
  238. <enabled>false</enabled>
  239. </releases>
  240. </repository>
  241. </repositories>
  242. <pluginRepositories>
  243. <pluginRepository>
  244. <id>repository.spring.release</id>
  245. <name>Spring GA Repository</name>
  246. <url>https://repo.spring.io/plugins-release/</url>
  247. </pluginRepository>
  248. <pluginRepository>
  249. <id>jcenter-snapshots</id>
  250. <name>jcenter</name>
  251. <url>https://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
  252. </pluginRepository>
  253. <pluginRepository>
  254. <id>jcenter-releases</id>
  255. <name>jcenter</name>
  256. <url>https://jcenter.bintray.com</url>
  257. <snapshots>
  258. <enabled>false</enabled>
  259. </snapshots>
  260. </pluginRepository>
  261. </pluginRepositories>
  262. <dependencies>
  263. <dependency>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-starter-web</artifactId>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.springframework.boot</groupId>
  269. <artifactId>spring-boot-starter-actuator</artifactId>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.springframework.boot</groupId>
  273. <artifactId>spring-boot-starter-test</artifactId>
  274. <scope>test</scope>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.google.guava</groupId>
  278. <artifactId>guava</artifactId>
  279. <version>20.0</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.springframework.cloud</groupId>
  283. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  284. <exclusions>
  285. <exclusion>
  286. <groupId>commons-lang</groupId>
  287. <artifactId>commons-lang</artifactId>
  288. </exclusion>
  289. <exclusion>
  290. <artifactId>guava</artifactId>
  291. <groupId>com.google.guava</groupId>
  292. </exclusion>
  293. </exclusions>
  294. </dependency>
  295. <!--增加通用依赖-->
  296. <dependency>
  297. <groupId>org.projectlombok</groupId>
  298. <artifactId>lombok</artifactId>
  299. <scope>provided</scope>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.slf4j</groupId>
  303. <artifactId>slf4j-api</artifactId>
  304. <scope>provided</scope>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.springframework.boot</groupId>
  308. <artifactId>spring-boot-starter-test</artifactId>
  309. <scope>test</scope>
  310. </dependency>
  311. </dependencies>
  312. <build>
  313. <finalName>${project.name}</finalName>
  314. <resources>
  315. <resource>
  316. <directory>src/main/resources</directory>
  317. <filtering>true</filtering>
  318. <excludes>
  319. <exclude>**/*.ttf</exclude>
  320. <exclude>**/*.ttc</exclude>
  321. </excludes>
  322. </resource>
  323. <resource>
  324. <directory>src/main/resources</directory>
  325. <filtering>false</filtering>
  326. <includes>
  327. <include>**/*.ttf</include>
  328. <include>**/*.ttc</include>
  329. </includes>
  330. </resource>
  331. </resources>
  332. <pluginManagement>
  333. <plugins>
  334. <plugin>
  335. <groupId>org.springframework.boot</groupId>
  336. <artifactId>spring-boot-maven-plugin</artifactId>
  337. <version>${spring-boot.version}</version>
  338. <configuration>
  339. <finalName>${project.build.finalName}</finalName>
  340. <includeSystemScope>true</includeSystemScope>
  341. </configuration>
  342. <executions>
  343. <execution>
  344. <goals>
  345. <goal>repackage</goal>
  346. </goals>
  347. </execution>
  348. </executions>
  349. </plugin>
  350. </plugins>
  351. </pluginManagement>
  352. <plugins>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-compiler-plugin</artifactId>
  356. <version>3.8.0</version>
  357. <configuration>
  358. <target>${maven.compiler.target}</target>
  359. <source>${maven.compiler.source}</source>
  360. <encoding>${project.build.sourceEncoding}</encoding>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>pl.project13.maven</groupId>
  365. <artifactId>git-commit-id-plugin</artifactId>
  366. <version>2.2.5</version>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.apache.maven.plugins</groupId>
  370. <artifactId>maven-resources-plugin</artifactId>
  371. <version>2.6</version>
  372. <configuration>
  373. <encoding>UTF-8</encoding>
  374. <!-- 过滤后缀为pem、pfx的证书文件 -->
  375. <nonFilteredFileExtensions>
  376. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  377. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  378. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  379. <nonFilteredFileExtension>ttc</nonFilteredFileExtension>
  380. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  381. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  382. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  383. </nonFilteredFileExtensions>
  384. </configuration>
  385. </plugin>
  386. </plugins>
  387. </build>
  388. <modules>
  389. <module>mec-eureka</module>
  390. <module>mec-gateway</module>
  391. <module>mec-auth</module>
  392. <module>mec-common</module>
  393. <module>mec-util</module>
  394. <module>mec-task</module>
  395. <module>mec-websocket</module>
  396. <module>cms</module>
  397. <module>mec-im</module>
  398. <module>workflowy</module>
  399. <module>mec-workflow</module>
  400. <module>mec-thirdparty</module>
  401. <module>mec-client-api</module>
  402. <module>mec-application</module>
  403. <module>mec-biz</module>
  404. <module>dynamic-datasource</module>
  405. <module>audio-analysis</module>
  406. <module>mec-mall</module>
  407. </modules></project>