pom.xml 12 KB

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