pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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>auth</artifactId>
  37. <version>1.0.0-SNAPSHOT</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>cn.reghao.jutil</groupId>
  41. <artifactId>jdk</artifactId>
  42. <version>1.0.0-SNAPSHOT</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>cn.reghao.jutil</groupId>
  46. <artifactId>tool</artifactId>
  47. <version>1.0.0-SNAPSHOT</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>cn.reghao.jutil</groupId>
  51. <artifactId>web</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. </dependencies>
  136. <profiles>
  137. <profile>
  138. <id>dev</id>
  139. <properties>
  140. <profile.active>dev</profile.active>
  141. </properties>
  142. <activation>
  143. <activeByDefault>true</activeByDefault>
  144. </activation>
  145. </profile>
  146. <profile>
  147. <id>test</id>
  148. <properties>
  149. <profile.active>test</profile.active>
  150. </properties>
  151. </profile>
  152. </profiles>
  153. <build>
  154. <finalName>oss-store</finalName>
  155. <resources>
  156. <resource>
  157. <directory>src/main/resources</directory>
  158. <filtering>true</filtering>
  159. <includes>
  160. <include>application.yml</include>
  161. <include>application-${profile.active}.yml</include>
  162. <include>mapper/**</include>
  163. <include>*.xml</include>
  164. </includes>
  165. </resource>
  166. </resources>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-maven-plugin</artifactId>
  171. <version>${springboot.version}</version>
  172. <executions>
  173. <execution>
  174. <goals>
  175. <goal>repackage</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. <configuration>
  180. <!-- 生成的 jar 包输出到指定目录 -->
  181. <outputDirectory>${project.build.outputDir}</outputDirectory>
  182. </configuration>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>