pom.xml 12 KB

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