pom.xml 14 KB

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