pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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.tnb</groupId>
  20. <artifactId>common</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.reghao.tnb.account</groupId>
  25. <artifactId>account-api</artifactId>
  26. <version>1.0.0-SNAPSHOT</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.reghao.tnb.message</groupId>
  30. <artifactId>message-api</artifactId>
  31. <version>1.0.0-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>cn.reghao.tnb.file</groupId>
  35. <artifactId>file-api</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.reghao.tnb.content</groupId>
  40. <artifactId>content-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>2.1.1</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.springframework.cloud</groupId>
  106. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.itextpdf</groupId>
  110. <artifactId>itextpdf</artifactId>
  111. <version>5.5.11</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.itextpdf</groupId>
  115. <artifactId>itext-asian</artifactId>
  116. <version>5.2.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springdoc</groupId>
  120. <artifactId>springdoc-openapi-ui</artifactId>
  121. <version>1.7.0</version>
  122. </dependency>
  123. </dependencies>
  124. <profiles>
  125. <profile>
  126. <id>dev</id>
  127. <properties>
  128. <profile.active>dev</profile.active>
  129. </properties>
  130. <activation>
  131. <activeByDefault>true</activeByDefault>
  132. </activation>
  133. </profile>
  134. <profile>
  135. <id>test</id>
  136. <properties>
  137. <profile.active>test</profile.active>
  138. </properties>
  139. </profile>
  140. </profiles>
  141. <build>
  142. <finalName>tnb-file</finalName>
  143. <extensions>
  144. <extension>
  145. <groupId>kr.motd.maven</groupId>
  146. <artifactId>os-maven-plugin</artifactId>
  147. <version>1.5.0.Final</version>
  148. </extension>
  149. </extensions>
  150. <resources>
  151. <resource>
  152. <directory>src/main/resources</directory>
  153. <filtering>true</filtering>
  154. <includes>
  155. <include>application.yml</include>
  156. <include>application-${profile.active}.yml</include>
  157. <include>mapper/**</include>
  158. <include>*.xml</include>
  159. <!-- 前端静态资源 -->
  160. <include>static/**</include>
  161. </includes>
  162. </resource>
  163. </resources>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-maven-plugin</artifactId>
  168. <version>${springboot.version}</version>
  169. <executions>
  170. <execution>
  171. <goals>
  172. <goal>repackage</goal>
  173. </goals>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </project>