pom.xml 8.0 KB

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