pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  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.13</cbs.version>
  24. <microsvc.version>1.0.8</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. </dependencies>
  212. </dependencyManagement>
  213. <repositories>
  214. <repository>
  215. <id>dayamaven</id>
  216. <name>Daya Maven</name>
  217. <url>https://mvn.dayaedu.com/repository/maven-public/</url>
  218. </repository>
  219. <repository>
  220. <id>alimaven</id>
  221. <name>aliyun maven</name>
  222. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  223. </repository>
  224. <repository>
  225. <id>spring-milestones</id>
  226. <name>Spring Milestones</name>
  227. <url>https://repo.spring.io/libs-milestone</url>
  228. <snapshots>
  229. <enabled>false</enabled>
  230. </snapshots>
  231. </repository>
  232. <repository>
  233. <id>sonatype-nexus-snapshots</id>
  234. <name>Sonatype Nexus Snapshots</name>
  235. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  236. <snapshots>
  237. <enabled>true</enabled>
  238. </snapshots>
  239. <releases>
  240. <enabled>false</enabled>
  241. </releases>
  242. </repository>
  243. </repositories>
  244. <pluginRepositories>
  245. <pluginRepository>
  246. <id>repository.spring.release</id>
  247. <name>Spring GA Repository</name>
  248. <url>https://repo.spring.io/plugins-release/</url>
  249. </pluginRepository>
  250. <pluginRepository>
  251. <id>jcenter-snapshots</id>
  252. <name>jcenter</name>
  253. <url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
  254. </pluginRepository>
  255. <pluginRepository>
  256. <id>jcenter-releases</id>
  257. <name>jcenter</name>
  258. <url>http://jcenter.bintray.com</url>
  259. <snapshots>
  260. <enabled>false</enabled>
  261. </snapshots>
  262. </pluginRepository>
  263. </pluginRepositories>
  264. <dependencies>
  265. <dependency>
  266. <groupId>org.springframework.boot</groupId>
  267. <artifactId>spring-boot-starter-web</artifactId>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.springframework.boot</groupId>
  271. <artifactId>spring-boot-starter-actuator</artifactId>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.springframework.boot</groupId>
  275. <artifactId>spring-boot-starter-test</artifactId>
  276. <scope>test</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.springframework.cloud</groupId>
  280. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  281. <exclusions>
  282. <exclusion>
  283. <groupId>commons-lang</groupId>
  284. <artifactId>commons-lang</artifactId>
  285. </exclusion>
  286. </exclusions>
  287. </dependency>
  288. <!--增加lombok编译-->
  289. <dependency>
  290. <groupId>org.projectlombok</groupId>
  291. <artifactId>lombok</artifactId>
  292. <scope>provided</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.slf4j</groupId>
  296. <artifactId>slf4j-api</artifactId>
  297. <scope>provided</scope>
  298. </dependency>
  299. <dependency>
  300. <groupId>com.alibaba</groupId>
  301. <artifactId>fastjson</artifactId>
  302. <version>1.2.79</version>
  303. </dependency>
  304. </dependencies>
  305. <build>
  306. <finalName>${project.name}</finalName>
  307. <resources>
  308. <resource>
  309. <directory>src/main/resources</directory>
  310. <filtering>true</filtering>
  311. <excludes>
  312. <exclude>**/*.ttf</exclude>
  313. <exclude>**/*.ttc</exclude>
  314. </excludes>
  315. </resource>
  316. <resource>
  317. <directory>src/main/resources</directory>
  318. <filtering>false</filtering>
  319. <includes>
  320. <include>**/*.ttf</include>
  321. <include>**/*.ttc</include>
  322. </includes>
  323. </resource>
  324. </resources>
  325. <pluginManagement>
  326. <plugins>
  327. <plugin>
  328. <groupId>org.springframework.boot</groupId>
  329. <artifactId>spring-boot-maven-plugin</artifactId>
  330. <version>${spring-boot.version}</version>
  331. <configuration>
  332. <finalName>${project.build.finalName}</finalName>
  333. <includeSystemScope>true</includeSystemScope>
  334. </configuration>
  335. <executions>
  336. <execution>
  337. <goals>
  338. <goal>repackage</goal>
  339. </goals>
  340. </execution>
  341. </executions>
  342. </plugin>
  343. </plugins>
  344. </pluginManagement>
  345. <plugins>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-compiler-plugin</artifactId>
  349. <version>3.8.0</version>
  350. <configuration>
  351. <target>${maven.compiler.target}</target>
  352. <source>${maven.compiler.source}</source>
  353. <encoding>${project.build.sourceEncoding}</encoding>
  354. </configuration>
  355. </plugin>
  356. <plugin>
  357. <groupId>pl.project13.maven</groupId>
  358. <artifactId>git-commit-id-plugin</artifactId>
  359. <version>2.2.5</version>
  360. </plugin>
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-resources-plugin</artifactId>
  364. <version>2.6</version>
  365. <configuration>
  366. <encoding>UTF-8</encoding>
  367. <!-- 过滤后缀为pem、pfx的证书文件 -->
  368. <nonFilteredFileExtensions>
  369. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  370. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  371. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  372. <nonFilteredFileExtension>ttc</nonFilteredFileExtension>
  373. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  374. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  375. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  376. </nonFilteredFileExtensions>
  377. </configuration>
  378. </plugin>
  379. </plugins>
  380. </build>
  381. <modules>
  382. <module>audio-analysis</module>
  383. <module>cooleshow-api</module>
  384. <module>cooleshow-auth</module>
  385. <module>cooleshow-bbs</module>
  386. <module>cooleshow-cms</module>
  387. <module>cooleshow-common</module>
  388. <module>cooleshow-gateway</module>
  389. <module>cooleshow-mall</module>
  390. <module>cooleshow-task</module>
  391. <module>cooleshow-user</module>
  392. <module>cooleshow-websocket</module>
  393. <module>toolset</module>
  394. <module>cooleshow-app</module>
  395. </modules>
  396. </project>