pom.xml 7.4 KB

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