pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>oss</artifactId>
  8. <groupId>cn.reghao.oss</groupId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <artifactId>oss-store</artifactId>
  12. <version>1.0.0</version>
  13. <packaging>jar</packaging>
  14. <properties>
  15. <maven.compiler.source>11</maven.compiler.source>
  16. <maven.compiler.target>11</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. </properties>
  20. <dependencyManagement>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-dependencies</artifactId>
  25. <version>2.3.9.RELEASE</version>
  26. <type>pom</type>
  27. <scope>import</scope>
  28. </dependency>
  29. </dependencies>
  30. </dependencyManagement>
  31. <dependencies>
  32. <dependency>
  33. <groupId>cn.reghao.jutil</groupId>
  34. <artifactId>jdk</artifactId>
  35. <version>1.0.0-SNAPSHOT</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.reghao.jutil</groupId>
  39. <artifactId>tool</artifactId>
  40. <version>1.0.0-SNAPSHOT</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>cn.reghao.jutil</groupId>
  44. <artifactId>web</artifactId>
  45. <version>1.0.0-SNAPSHOT</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.reghao.jutil</groupId>
  49. <artifactId>media</artifactId>
  50. <version>1.0.0-SNAPSHOT</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>cn.reghao.oss</groupId>
  54. <artifactId>oss-api</artifactId>
  55. <version>1.0.0-SNAPSHOT</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>cn.reghao.oss</groupId>
  59. <artifactId>oss-sdk</artifactId>
  60. <version>1.0.0-SNAPSHOT</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <version>1.18.6</version>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>ch.qos.logback</groupId>
  70. <artifactId>logback-core</artifactId>
  71. <version>1.2.3</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>ch.qos.logback</groupId>
  75. <artifactId>logback-classic</artifactId>
  76. <version>1.2.3</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-aop</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-validation</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-test</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-cache</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.github.ben-manes.caffeine</groupId>
  101. <artifactId>caffeine</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.mybatis.spring.boot</groupId>
  105. <artifactId>mybatis-spring-boot-starter</artifactId>
  106. <version>1.3.2</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>mysql</groupId>
  110. <artifactId>mysql-connector-java</artifactId>
  111. <version>8.0.17</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.zaxxer</groupId>
  115. <artifactId>HikariCP</artifactId>
  116. <version>3.3.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.dubbo</groupId>
  120. <artifactId>dubbo-spring-boot-starter</artifactId>
  121. <version>2.7.8</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.tika</groupId>
  125. <artifactId>tika-core</artifactId>
  126. <version>2.9.1</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.github.oshi</groupId>
  130. <artifactId>oshi-core</artifactId>
  131. <version>6.6.3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.jsonwebtoken</groupId>
  135. <artifactId>jjwt</artifactId>
  136. <version>0.9.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>javax.xml.bind</groupId>
  140. <artifactId>jaxb-api</artifactId>
  141. <version>2.3.0</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.sun.xml.bind</groupId>
  145. <artifactId>jaxb-impl</artifactId>
  146. <version>2.3.3</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.sun.xml.bind</groupId>
  150. <artifactId>jaxb-core</artifactId>
  151. <version>2.3.0</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>javax.activation</groupId>
  155. <artifactId>activation</artifactId>
  156. <version>1.1.1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>io.springfox</groupId>
  160. <artifactId>springfox-swagger2</artifactId>
  161. <version>2.9.2</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>io.springfox</groupId>
  165. <artifactId>springfox-swagger-ui</artifactId>
  166. <version>2.9.2</version>
  167. </dependency>
  168. </dependencies>
  169. <profiles>
  170. <profile>
  171. <id>dev</id>
  172. <properties>
  173. <profile.active>dev</profile.active>
  174. </properties>
  175. <activation>
  176. <activeByDefault>true</activeByDefault>
  177. </activation>
  178. </profile>
  179. <profile>
  180. <id>test</id>
  181. <properties>
  182. <profile.active>test</profile.active>
  183. </properties>
  184. </profile>
  185. <profile>
  186. <id>prod</id>
  187. <properties>
  188. <profile.active>test</profile.active>
  189. </properties>
  190. </profile>
  191. </profiles>
  192. <build>
  193. <finalName>oss-store</finalName>
  194. <resources>
  195. <resource>
  196. <directory>src/main/resources</directory>
  197. <filtering>true</filtering>
  198. <includes>
  199. <include>application.yml</include>
  200. <include>application-${profile.active}.yml</include>
  201. <include>mapper/**</include>
  202. <include>*.xml</include>
  203. </includes>
  204. </resource>
  205. </resources>
  206. <plugins>
  207. <plugin>
  208. <groupId>org.springframework.boot</groupId>
  209. <artifactId>spring-boot-maven-plugin</artifactId>
  210. <version>2.3.9.RELEASE</version>
  211. <executions>
  212. <execution>
  213. <goals>
  214. <goal>repackage</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. </project>