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>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.reghao.tnb</groupId>
  20. <artifactId>auth</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>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-configuration-processor</artifactId>
  55. <optional>true</optional>
  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>com.mysql</groupId>
  81. <artifactId>mysql-connector-j</artifactId>
  82. <version>8.0.31</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>3.0.4</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.cloud</groupId>
  96. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.itextpdf</groupId>
  100. <artifactId>itextpdf</artifactId>
  101. <version>5.5.11</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.itextpdf</groupId>
  105. <artifactId>itext-asian</artifactId>
  106. <version>5.2.0</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-io</groupId>
  110. <artifactId>commons-io</artifactId>
  111. <version>2.14.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springdoc</groupId>
  115. <artifactId>springdoc-openapi-ui</artifactId>
  116. <version>1.7.0</version>
  117. </dependency>
  118. </dependencies>
  119. <profiles>
  120. <profile>
  121. <id>dev</id>
  122. <properties>
  123. <profile.active>dev</profile.active>
  124. </properties>
  125. <activation>
  126. <activeByDefault>true</activeByDefault>
  127. </activation>
  128. </profile>
  129. <profile>
  130. <id>test</id>
  131. <properties>
  132. <profile.active>test</profile.active>
  133. </properties>
  134. </profile>
  135. <profile>
  136. <id>cluster</id>
  137. <properties>
  138. <profile.active>cluster</profile.active>
  139. </properties>
  140. </profile>
  141. </profiles>
  142. <build>
  143. <finalName>tnb-file</finalName>
  144. <extensions>
  145. <extension>
  146. <groupId>kr.motd.maven</groupId>
  147. <artifactId>os-maven-plugin</artifactId>
  148. <version>1.5.0.Final</version>
  149. </extension>
  150. </extensions>
  151. <resources>
  152. <resource>
  153. <directory>src/main/resources</directory>
  154. <filtering>true</filtering>
  155. <includes>
  156. <include>application.yml</include>
  157. <include>application-${profile.active}.yml</include>
  158. <include>mapper/**</include>
  159. <include>*.xml</include>
  160. <!-- 前端静态资源 -->
  161. <include>static/**</include>
  162. </includes>
  163. </resource>
  164. </resources>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>3.11.0</version>
  170. <configuration>
  171. <compilerArgs>
  172. <arg>-parameters</arg>
  173. </compilerArgs>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-maven-plugin</artifactId>
  179. <version>${springboot.version}</version>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>repackage</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. </plugins>
  189. </build>
  190. </project>