pom.xml 12 KB

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