pom.xml 13 KB

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