pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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>cn.reghao.tnb.content</groupId>
  45. <artifactId>content-api</artifactId>
  46. <version>1.0.0-SNAPSHOT</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.reghao.tnb</groupId>
  50. <artifactId>log</artifactId>
  51. <version>1.0.0-SNAPSHOT</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-configuration-processor</artifactId>
  60. <optional>true</optional>
  61. </dependency>
  62. <dependency>
  63. <groupId>cn.reghao.jutil</groupId>
  64. <artifactId>media</artifactId>
  65. <version>1.0.0-SNAPSHOT</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.google.zxing</groupId>
  69. <artifactId>core</artifactId>
  70. <version>3.1.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.google.zxing</groupId>
  74. <artifactId>javase</artifactId>
  75. <version>3.1.0</version>
  76. </dependency>
  77. <!--<dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-redis</artifactId>
  80. </dependency>-->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-cache</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.github.ben-manes.caffeine</groupId>
  87. <artifactId>caffeine</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>mysql</groupId>
  91. <artifactId>mysql-connector-java</artifactId>
  92. <version>8.0.17</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.zaxxer</groupId>
  96. <artifactId>HikariCP</artifactId>
  97. <version>3.3.1</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.mybatis.spring.boot</groupId>
  101. <artifactId>mybatis-spring-boot-starter</artifactId>
  102. <version>2.1.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.aliyun.oss</groupId>
  106. <artifactId>aliyun-sdk-oss</artifactId>
  107. <version>3.8.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.aliyun</groupId>
  111. <artifactId>sts20150401</artifactId>
  112. <version>1.1.4</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.cloud</groupId>
  116. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.itextpdf</groupId>
  120. <artifactId>itextpdf</artifactId>
  121. <version>5.5.11</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.itextpdf</groupId>
  125. <artifactId>itext-asian</artifactId>
  126. <version>5.2.0</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>io.springfox</groupId>
  130. <artifactId>springfox-boot-starter</artifactId>
  131. <version>3.0.0</version>
  132. </dependency>
  133. </dependencies>
  134. <profiles>
  135. <profile>
  136. <id>dev</id>
  137. <properties>
  138. <profile.active>dev</profile.active>
  139. </properties>
  140. <activation>
  141. <activeByDefault>true</activeByDefault>
  142. </activation>
  143. </profile>
  144. <profile>
  145. <id>test</id>
  146. <properties>
  147. <profile.active>test</profile.active>
  148. </properties>
  149. </profile>
  150. <profile>
  151. <id>cluster</id>
  152. <properties>
  153. <profile.active>cluster</profile.active>
  154. </properties>
  155. </profile>
  156. </profiles>
  157. <build>
  158. <finalName>tnb-file</finalName>
  159. <extensions>
  160. <extension>
  161. <groupId>kr.motd.maven</groupId>
  162. <artifactId>os-maven-plugin</artifactId>
  163. <version>1.5.0.Final</version>
  164. </extension>
  165. </extensions>
  166. <resources>
  167. <resource>
  168. <directory>src/main/resources</directory>
  169. <filtering>true</filtering>
  170. <includes>
  171. <include>application.yml</include>
  172. <include>application-${profile.active}.yml</include>
  173. <include>mapper/**</include>
  174. <include>*.xml</include>
  175. <!-- 前端静态资源 -->
  176. <include>static/**</include>
  177. </includes>
  178. </resource>
  179. </resources>
  180. <plugins>
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. <configuration>
  185. <executable>true</executable>
  186. <fork>true</fork>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>