pom.xml 12 KB

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