pom.xml 13 KB

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