pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>file</artifactId>
  7. <groupId>cn.reghao.tnb</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>cn.reghao.tnb.file</groupId>
  12. <artifactId>file-service</artifactId>
  13. <properties>
  14. <maven.compiler.source>11</maven.compiler.source>
  15. <maven.compiler.target>11</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.reghao.jutil</groupId>
  20. <artifactId>web</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.reghao.tnb</groupId>
  25. <artifactId>common</artifactId>
  26. <version>1.0.0-SNAPSHOT</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.reghao.tnb.account</groupId>
  30. <artifactId>account-api</artifactId>
  31. <version>1.0.0-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>cn.reghao.tnb.message</groupId>
  35. <artifactId>message-api</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.reghao.tnb.file</groupId>
  40. <artifactId>file-api</artifactId>
  41. <version>1.0.0-SNAPSHOT</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-configuration-processor</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>cn.reghao.jutil</groupId>
  54. <artifactId>media</artifactId>
  55. <version>1.0.0-SNAPSHOT</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.google.zxing</groupId>
  59. <artifactId>core</artifactId>
  60. <version>3.1.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.google.zxing</groupId>
  64. <artifactId>javase</artifactId>
  65. <version>3.1.0</version>
  66. </dependency>
  67. <!--<dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-data-redis</artifactId>
  70. </dependency>-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-cache</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.github.ben-manes.caffeine</groupId>
  77. <artifactId>caffeine</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>mysql</groupId>
  81. <artifactId>mysql-connector-java</artifactId>
  82. <version>8.0.17</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.zaxxer</groupId>
  86. <artifactId>HikariCP</artifactId>
  87. <version>3.3.1</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mybatis.spring.boot</groupId>
  91. <artifactId>mybatis-spring-boot-starter</artifactId>
  92. <version>1.3.2</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.aliyun.oss</groupId>
  96. <artifactId>aliyun-sdk-oss</artifactId>
  97. <version>3.8.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.aliyun</groupId>
  101. <artifactId>sts20150401</artifactId>
  102. <version>1.1.4</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.dubbo</groupId>
  106. <artifactId>dubbo-spring-boot-starter</artifactId>
  107. <version>2.7.8</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
  112. <exclusions>
  113. <exclusion>
  114. <groupId>org.apache.zookeeper</groupId>
  115. <artifactId>zookeeper</artifactId>
  116. </exclusion>
  117. </exclusions>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.zookeeper</groupId>
  121. <artifactId>zookeeper</artifactId>
  122. <version>3.4.6</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>org.slf4j</groupId>
  126. <artifactId>slf4j-log4j12</artifactId>
  127. </exclusion>
  128. </exclusions>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.springfox</groupId>
  132. <artifactId>springfox-swagger2</artifactId>
  133. <version>2.9.2</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.springfox</groupId>
  137. <artifactId>springfox-swagger-ui</artifactId>
  138. <version>2.9.2</version>
  139. </dependency>
  140. </dependencies>
  141. <profiles>
  142. <profile>
  143. <id>dev</id>
  144. <properties>
  145. <profile.active>dev</profile.active>
  146. </properties>
  147. <activation>
  148. <activeByDefault>true</activeByDefault>
  149. </activation>
  150. </profile>
  151. <profile>
  152. <id>test</id>
  153. <properties>
  154. <profile.active>test</profile.active>
  155. </properties>
  156. </profile>
  157. <profile>
  158. <id>prod</id>
  159. <properties>
  160. <profile.active>prod</profile.active>
  161. </properties>
  162. </profile>
  163. <profile>
  164. <id>cluster</id>
  165. <properties>
  166. <profile.active>cluster</profile.active>
  167. </properties>
  168. </profile>
  169. </profiles>
  170. <build>
  171. <finalName>tnb-file</finalName>
  172. <extensions>
  173. <extension>
  174. <groupId>kr.motd.maven</groupId>
  175. <artifactId>os-maven-plugin</artifactId>
  176. <version>1.5.0.Final</version>
  177. </extension>
  178. </extensions>
  179. <resources>
  180. <resource>
  181. <directory>src/main/resources</directory>
  182. <filtering>true</filtering>
  183. <includes>
  184. <include>application.yml</include>
  185. <include>application-${profile.active}.yml</include>
  186. <include>mapper/**</include>
  187. <include>*.xml</include>
  188. </includes>
  189. </resource>
  190. </resources>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. <version>2.3.9.RELEASE</version>
  196. <configuration>
  197. <executable>true</executable>
  198. <fork>true</fork>
  199. </configuration>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. </project>