pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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>common-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-test</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-configuration-processor</artifactId>
  56. <optional>true</optional>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.zxing</groupId>
  60. <artifactId>core</artifactId>
  61. <version>3.1.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.google.zxing</groupId>
  65. <artifactId>javase</artifactId>
  66. <version>3.1.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-data-redis</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-cache</artifactId>
  75. </dependency>
  76. <!--<dependency>
  77. <groupId>com.github.ben-manes.caffeine</groupId>
  78. <artifactId>caffeine</artifactId>
  79. </dependency>-->
  80. <dependency>
  81. <groupId>com.mysql</groupId>
  82. <artifactId>mysql-connector-j</artifactId>
  83. <version>8.0.31</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.zaxxer</groupId>
  87. <artifactId>HikariCP</artifactId>
  88. <version>3.3.1</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mybatis.spring.boot</groupId>
  92. <artifactId>mybatis-spring-boot-starter</artifactId>
  93. <version>3.0.4</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.cloud</groupId>
  97. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.itextpdf</groupId>
  101. <artifactId>itextpdf</artifactId>
  102. <version>5.5.11</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.itextpdf</groupId>
  106. <artifactId>itext-asian</artifactId>
  107. <version>5.2.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>commons-io</groupId>
  111. <artifactId>commons-io</artifactId>
  112. <version>2.14.0</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.drewnoakes</groupId>
  116. <artifactId>metadata-extractor</artifactId>
  117. <version>2.18.0</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.commons</groupId>
  121. <artifactId>commons-imaging</artifactId>
  122. <version>1.0-alpha3</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.dom4j</groupId>
  126. <artifactId>dom4j</artifactId>
  127. <version>2.1.1</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>net.sourceforge.tess4j</groupId>
  131. <artifactId>tess4j</artifactId>
  132. <version>5.3.0</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springdoc</groupId>
  136. <artifactId>springdoc-openapi-ui</artifactId>
  137. <version>1.7.0</version>
  138. </dependency>
  139. </dependencies>
  140. <profiles>
  141. <profile>
  142. <id>dev</id>
  143. <properties>
  144. <profile.active>dev</profile.active>
  145. </properties>
  146. <activation>
  147. <activeByDefault>true</activeByDefault>
  148. </activation>
  149. </profile>
  150. <profile>
  151. <id>test</id>
  152. <properties>
  153. <profile.active>test</profile.active>
  154. </properties>
  155. </profile>
  156. <profile>
  157. <id>cluster</id>
  158. <properties>
  159. <profile.active>cluster</profile.active>
  160. </properties>
  161. </profile>
  162. </profiles>
  163. <build>
  164. <finalName>tnb-file</finalName>
  165. <extensions>
  166. <extension>
  167. <groupId>kr.motd.maven</groupId>
  168. <artifactId>os-maven-plugin</artifactId>
  169. <version>1.5.0.Final</version>
  170. </extension>
  171. </extensions>
  172. <resources>
  173. <resource>
  174. <directory>src/main/resources</directory>
  175. <filtering>true</filtering>
  176. <includes>
  177. <include>application.yml</include>
  178. <include>application-${profile.active}.yml</include>
  179. <include>mapper/**</include>
  180. <include>*.xml</include>
  181. <!-- 前端静态资源 -->
  182. <include>static/**</include>
  183. </includes>
  184. </resource>
  185. </resources>
  186. <plugins>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-compiler-plugin</artifactId>
  190. <version>3.11.0</version>
  191. <configuration>
  192. <compilerArgs>
  193. <arg>-parameters</arg>
  194. </compilerArgs>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-maven-plugin</artifactId>
  200. <version>${springboot.version}</version>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>repackage</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. </plugins>
  210. </build>
  211. </project>