pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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. <!--统一版本管理-->
  26. <!-- <dependency>-->
  27. <!-- <groupId>org.springframework.security.oauth.boot</groupId>-->
  28. <!-- <artifactId>spring-security-oauth2-autoconfigure</artifactId>-->
  29. <!-- <version>2.1.6.RELEASE</version>-->
  30. <!-- </dependency>-->
  31. <!--֧��Spring Boot 2.1.X -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-dependencies</artifactId>
  35. <version>${spring-boot.version}</version>
  36. <type>pom</type>
  37. <scope>import</scope>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-log4j2</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-dependencies</artifactId>
  48. <version>${spring-cloud.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-log4j2</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.microsvc.toolkit</groupId>
  60. <artifactId>microsvc-dependencies-bom</artifactId>
  61. <version>1.0.0</version>
  62. <type>pom</type>
  63. <scope>import</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.yonge.cooleshow</groupId>
  67. <artifactId>auth-api</artifactId>
  68. <version>${project.cooleshow.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.yonge.cooleshow</groupId>
  72. <artifactId>cooleshow-common</artifactId>
  73. <version>${project.cooleshow.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.yonge.cooleshow</groupId>
  77. <artifactId>auth-api</artifactId>
  78. <version>${project.cooleshow.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.yonge.toolset</groupId>
  82. <artifactId>utils</artifactId>
  83. <version>${project.toolset.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.yonge.toolset</groupId>
  87. <artifactId>thirdparty-component</artifactId>
  88. <version>${project.toolset.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.yonge.toolset</groupId>
  92. <artifactId>mongo-db</artifactId>
  93. <version>${project.toolset.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.yonge.toolset</groupId>
  97. <artifactId>audit-log</artifactId>
  98. <version>${project.toolset.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.yonge.cooleshow</groupId>
  102. <artifactId>user-biz</artifactId>
  103. <version>${project.cooleshow.version}</version>
  104. </dependency>
  105. <!--mall通用模块-->
  106. <dependency>
  107. <groupId>com.yonge.cooleshow</groupId>
  108. <artifactId>mall-common</artifactId>
  109. <version>${project.cooleshow.version}</version>
  110. </dependency>
  111. <!--mall中MBG生成模块-->
  112. <dependency>
  113. <groupId>com.yonge.cooleshow</groupId>
  114. <artifactId>mall-mbg</artifactId>
  115. <version>${project.cooleshow.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.alibaba.cloud</groupId>
  119. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  120. <version>2.1.4.RELEASE</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.alibaba.cloud</groupId>
  124. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  125. <version>2.1.4.RELEASE</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>io.zipkin.java</groupId>
  129. <artifactId>zipkin-server</artifactId>
  130. <version>${zipkin.version}</version>
  131. <!--�ų�log4j2 �����logback��ͻ���� -->
  132. <exclusions>
  133. <exclusion>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-log4j2</artifactId>
  136. </exclusion>
  137. </exclusions>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.zipkin.java</groupId>
  141. <artifactId>zipkin-autoconfigure-ui</artifactId>
  142. <version>${zipkin.version}</version>
  143. </dependency>
  144. <!-- ʹ����Ϣ�ķ�ʽ�ռ����ݣ�ʹ��rabbitmq�� -->
  145. <dependency>
  146. <groupId>io.zipkin.java</groupId>
  147. <artifactId>zipkin-autoconfigure-collector-rabbitmq</artifactId>
  148. <version>${zipkin.version}</version>
  149. </dependency>
  150. <!-- ���� elasticsearch �洢���� -->
  151. <dependency>
  152. <groupId>io.zipkin.java</groupId>
  153. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  154. <version>2.8.4</version>
  155. </dependency>
  156. <!-- swagger-spring-boot -->
  157. <dependency>
  158. <groupId>com.spring4all</groupId>
  159. <artifactId>swagger-spring-boot-starter</artifactId>
  160. <version>1.9.0.RELEASE</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.github.xiaoymin</groupId>
  164. <artifactId>swagger-bootstrap-ui</artifactId>
  165. <version>1.9.5</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.alibaba</groupId>
  169. <artifactId>druid-spring-boot-starter</artifactId>
  170. <version>1.1.10</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.mybatis.spring.boot</groupId>
  174. <artifactId>mybatis-spring-boot-starter</artifactId>
  175. <version>1.3.2</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>commons-beanutils</groupId>
  179. <artifactId>commons-beanutils</artifactId>
  180. <version>1.9.2</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.google.zxing</groupId>
  184. <artifactId>core</artifactId>
  185. <version>${google.zxing.version}</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.google.zxing</groupId>
  189. <artifactId>javase</artifactId>
  190. <version>${google.zxing.version}</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.vdurmont</groupId>
  194. <artifactId>emoji-java</artifactId>
  195. <version>5.1.1</version>
  196. </dependency>
  197. </dependencies>
  198. </dependencyManagement>
  199. <repositories>
  200. <repository>
  201. <id>dayamaven</id>
  202. <name>Daya Maven</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. </dependencies>
  286. <build>
  287. <finalName>${project.name}</finalName>
  288. <resources>
  289. <resource>
  290. <directory>src/main/resources</directory>
  291. <filtering>true</filtering>
  292. <excludes>
  293. <exclude>**/*.ttf</exclude>
  294. <exclude>**/*.ttc</exclude>
  295. </excludes>
  296. </resource>
  297. <resource>
  298. <directory>src/main/resources</directory>
  299. <filtering>false</filtering>
  300. <includes>
  301. <include>**/*.ttf</include>
  302. <include>**/*.ttc</include>
  303. </includes>
  304. </resource>
  305. </resources>
  306. <pluginManagement>
  307. <plugins>
  308. <plugin>
  309. <groupId>org.springframework.boot</groupId>
  310. <artifactId>spring-boot-maven-plugin</artifactId>
  311. <version>${spring-boot.version}</version>
  312. <configuration>
  313. <finalName>${project.build.finalName}</finalName>
  314. <includeSystemScope>true</includeSystemScope>
  315. </configuration>
  316. <executions>
  317. <execution>
  318. <goals>
  319. <goal>repackage</goal>
  320. </goals>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. </plugins>
  325. </pluginManagement>
  326. <plugins>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-compiler-plugin</artifactId>
  330. <version>3.8.0</version>
  331. <configuration>
  332. <target>${maven.compiler.target}</target>
  333. <source>${maven.compiler.source}</source>
  334. <encoding>${project.build.sourceEncoding}</encoding>
  335. </configuration>
  336. </plugin>
  337. <plugin>
  338. <groupId>pl.project13.maven</groupId>
  339. <artifactId>git-commit-id-plugin</artifactId>
  340. <version>2.2.5</version>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-resources-plugin</artifactId>
  345. <version>2.6</version>
  346. <configuration>
  347. <encoding>UTF-8</encoding>
  348. <!-- 过滤后缀为pem、pfx的证书文件 -->
  349. <nonFilteredFileExtensions>
  350. <nonFilteredFileExtension>cer</nonFilteredFileExtension>
  351. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  352. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  353. <nonFilteredFileExtension>ttc</nonFilteredFileExtension>
  354. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  355. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  356. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  357. </nonFilteredFileExtensions>
  358. </configuration>
  359. </plugin>
  360. </plugins>
  361. </build>
  362. <modules>
  363. <module>audio-analysis</module>
  364. <module>cooleshow-api</module>
  365. <module>cooleshow-auth</module>
  366. <module>cooleshow-bbs</module>
  367. <module>cooleshow-cms</module>
  368. <module>cooleshow-common</module>
  369. <module>cooleshow-gateway</module>
  370. <module>cooleshow-mall</module>
  371. <module>cooleshow-task</module>
  372. <module>cooleshow-user</module>
  373. <module>cooleshow-websocket</module>
  374. <module>toolset</module>
  375. </modules>
  376. </project>