pom.xml 14 KB

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