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