pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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.tnb</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. <project.build.outputDir>${project.basedir}/bin</project.build.outputDir>
  16. </properties>
  17. <!--<dependencyManagement>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-dependencies</artifactId>
  22. <version>${springboot.version}</version>
  23. <type>pom</type>
  24. <scope>import</scope>
  25. </dependency>
  26. </dependencies>
  27. </dependencyManagement>-->
  28. <dependencies>
  29. <dependency>
  30. <groupId>cn.reghao.tnb</groupId>
  31. <artifactId>auth</artifactId>
  32. <version>1.0.0-SNAPSHOT</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.reghao.jutil</groupId>
  36. <artifactId>web</artifactId>
  37. <version>jdk17-SNAPSHOT</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>cn.reghao.tnb</groupId>
  41. <artifactId>oss-api</artifactId>
  42. <version>1.0.0-SNAPSHOT</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-aop</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-cache</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.github.ben-manes.caffeine</groupId>
  58. <artifactId>caffeine</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.mybatis.spring.boot</groupId>
  62. <artifactId>mybatis-spring-boot-starter</artifactId>
  63. <version>3.0.4</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.mysql</groupId>
  67. <artifactId>mysql-connector-j</artifactId>
  68. <version>8.0.31</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.zaxxer</groupId>
  72. <artifactId>HikariCP</artifactId>
  73. <version>3.3.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.dubbo</groupId>
  77. <artifactId>dubbo-spring-boot-starter</artifactId>
  78. <version>3.3.0</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.dubbo</groupId>
  82. <artifactId>dubbo-zookeeper-spring-boot-starter</artifactId>
  83. <version>3.3.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.tika</groupId>
  87. <artifactId>tika-core</artifactId>
  88. <version>2.9.1</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.github.oshi</groupId>
  92. <artifactId>oshi-core</artifactId>
  93. <version>6.6.3</version>
  94. </dependency>
  95. </dependencies>
  96. <profiles>
  97. <profile>
  98. <id>dev</id>
  99. <properties>
  100. <profile.active>dev</profile.active>
  101. </properties>
  102. <activation>
  103. <activeByDefault>true</activeByDefault>
  104. </activation>
  105. </profile>
  106. <profile>
  107. <id>test</id>
  108. <properties>
  109. <profile.active>test</profile.active>
  110. </properties>
  111. </profile>
  112. </profiles>
  113. <build>
  114. <finalName>oss-store</finalName>
  115. <resources>
  116. <resource>
  117. <directory>src/main/resources</directory>
  118. <filtering>true</filtering>
  119. <includes>
  120. <include>application.yml</include>
  121. <include>application-${profile.active}.yml</include>
  122. <include>mapper/**</include>
  123. <include>*.xml</include>
  124. </includes>
  125. </resource>
  126. </resources>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-compiler-plugin</artifactId>
  131. <version>3.11.0</version>
  132. <configuration>
  133. <compilerArgs>
  134. <arg>-parameters</arg>
  135. </compilerArgs>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-maven-plugin</artifactId>
  141. <version>${springboot.version}</version>
  142. <executions>
  143. <execution>
  144. <goals>
  145. <goal>repackage</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. <configuration>
  150. <!-- 生成的 jar 包输出到指定目录 -->
  151. <outputDirectory>${project.build.outputDir}</outputDirectory>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>