pom.xml 14 KB

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