pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. <project.build.outputDir>${project.basedir}/bin</project.build.outputDir>
  20. </properties>
  21. <dependencyManagement>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-dependencies</artifactId>
  26. <version>2.6.15</version>
  27. <type>pom</type>
  28. <scope>import</scope>
  29. </dependency>
  30. </dependencies>
  31. </dependencyManagement>
  32. <dependencies>
  33. <dependency>
  34. <groupId>cn.reghao.jutil</groupId>
  35. <artifactId>jdk</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.reghao.jutil</groupId>
  40. <artifactId>tool</artifactId>
  41. <version>1.0.0-SNAPSHOT</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.reghao.jutil</groupId>
  45. <artifactId>web</artifactId>
  46. <version>1.0.0-SNAPSHOT</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.reghao.jutil</groupId>
  50. <artifactId>media</artifactId>
  51. <version>1.0.0-SNAPSHOT</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>cn.reghao.oss</groupId>
  55. <artifactId>oss-api</artifactId>
  56. <version>1.0.0-SNAPSHOT</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>cn.reghao.oss</groupId>
  60. <artifactId>oss-sdk</artifactId>
  61. <version>1.0.0-SNAPSHOT</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. <version>1.18.6</version>
  67. <optional>true</optional>
  68. </dependency>
  69. <dependency>
  70. <groupId>ch.qos.logback</groupId>
  71. <artifactId>logback-core</artifactId>
  72. <version>1.2.3</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>ch.qos.logback</groupId>
  76. <artifactId>logback-classic</artifactId>
  77. <version>1.2.3</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-web</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-aop</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-validation</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-test</artifactId>
  94. <scope>test</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-cache</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.github.ben-manes.caffeine</groupId>
  102. <artifactId>caffeine</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.mybatis.spring.boot</groupId>
  106. <artifactId>mybatis-spring-boot-starter</artifactId>
  107. <version>1.3.2</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>mysql</groupId>
  111. <artifactId>mysql-connector-java</artifactId>
  112. <version>8.0.17</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.zaxxer</groupId>
  116. <artifactId>HikariCP</artifactId>
  117. <version>3.3.1</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.dubbo</groupId>
  121. <artifactId>dubbo-spring-boot-starter</artifactId>
  122. <version>3.3.0</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.dubbo</groupId>
  126. <artifactId>dubbo-zookeeper-spring-boot-starter</artifactId>
  127. <version>3.3.0</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.tika</groupId>
  131. <artifactId>tika-core</artifactId>
  132. <version>2.9.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.github.oshi</groupId>
  136. <artifactId>oshi-core</artifactId>
  137. <version>6.6.3</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>io.jsonwebtoken</groupId>
  141. <artifactId>jjwt</artifactId>
  142. <version>0.9.1</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.xml.bind</groupId>
  146. <artifactId>jaxb-api</artifactId>
  147. <version>2.3.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.sun.xml.bind</groupId>
  151. <artifactId>jaxb-impl</artifactId>
  152. <version>2.3.3</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.sun.xml.bind</groupId>
  156. <artifactId>jaxb-core</artifactId>
  157. <version>2.3.0</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>javax.activation</groupId>
  161. <artifactId>activation</artifactId>
  162. <version>1.1.1</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.springfox</groupId>
  166. <artifactId>springfox-swagger2</artifactId>
  167. <version>2.9.2</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.springfox</groupId>
  171. <artifactId>springfox-swagger-ui</artifactId>
  172. <version>2.9.2</version>
  173. </dependency>
  174. </dependencies>
  175. <profiles>
  176. <profile>
  177. <id>dev</id>
  178. <properties>
  179. <profile.active>dev</profile.active>
  180. </properties>
  181. <activation>
  182. <activeByDefault>true</activeByDefault>
  183. </activation>
  184. </profile>
  185. <profile>
  186. <id>test</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. <configuration>
  219. <!-- 生成的 jar 包输出到指定目录 -->
  220. <outputDirectory>${project.build.outputDir}</outputDirectory>
  221. </configuration>
  222. </plugin>
  223. </plugins>
  224. </build>
  225. </project>