pom.xml 13 KB

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