pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. <packaging>jar</packaging>
  7. <parent>
  8. <groupId>cc.uncarbon.framework</groupId>
  9. <artifactId>helio-starters</artifactId>
  10. <version>1.10.0</version>
  11. </parent>
  12. <artifactId>helio-boot</artifactId>
  13. <!-- 制品版本号,建议每次打包发布时都调整以作区分 -->
  14. <version>1.10.0</version>
  15. <properties>
  16. <!-- 这里写其他第三方依赖 -->
  17. <!-- 文件上传 -->
  18. <x-file-storage.version>2.0.0</x-file-storage.version>
  19. <minio.version>8.4.3</minio.version>
  20. </properties>
  21. <dependencies>
  22. <!-- 脚手架 starters -->
  23. <dependency>
  24. <groupId>cc.uncarbon.framework</groupId>
  25. <artifactId>helio-core</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>cc.uncarbon.framework</groupId>
  29. <artifactId>helio-starter-aop</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>cc.uncarbon.framework</groupId>
  33. <artifactId>helio-starter-crud</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>cc.uncarbon.framework</groupId>
  37. <artifactId>helio-starter-knife4j</artifactId>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>com.github.xiaoymin</groupId>
  41. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <dependency>
  46. <groupId>cc.uncarbon.framework</groupId>
  47. <artifactId>helio-starter-redis</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>cc.uncarbon.framework</groupId>
  51. <artifactId>helio-starter-satoken</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>cc.uncarbon.framework</groupId>
  55. <artifactId>helio-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>cc.uncarbon.framework</groupId>
  60. <artifactId>helio-starter-web</artifactId>
  61. </dependency>
  62. <!-- 这里写其他第三方依赖 -->
  63. <!-- 对象存储工具类 https://gitee.com/dromara/x-file-storage -->
  64. <dependency>
  65. <groupId>org.dromara.x-file-storage</groupId>
  66. <artifactId>x-file-storage-spring</artifactId>
  67. <version>${x-file-storage.version}</version>
  68. <exclusions>
  69. <!-- hutool版本冲突,用 helio-core 的版本 -->
  70. <exclusion>
  71. <groupId>cn.hutool</groupId>
  72. <artifactId>hutool-core</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <!-- MinIO 依赖包 -->
  77. <dependency>
  78. <groupId>io.minio</groupId>
  79. <artifactId>minio</artifactId>
  80. <version>${minio.version}</version>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <!-- 支持 mybatis XML 放置在 java 包下 -->
  85. <resources>
  86. <resource>
  87. <directory>src/main/java</directory>
  88. <includes>
  89. <include>**/*.xml</include>
  90. </includes>
  91. </resource>
  92. <resource>
  93. <directory>src/main/resources</directory>
  94. </resource>
  95. </resources>
  96. <plugins>
  97. <!-- Spring Boot 打包插件 -->
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <version>${spring-boot.version}</version>
  102. <configuration>
  103. <fork>true</fork>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <goals>
  108. <goal>repackage</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <!-- 编译时,跳过单元测试 -->
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <configuration>
  118. <skipTests>true</skipTests>
  119. </configuration>
  120. </plugin>
  121. <!-- 编译时,不执行 mvn deploy -->
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-deploy-plugin</artifactId>
  125. <configuration>
  126. <skip>true</skip>
  127. </configuration>
  128. </plugin>
  129. <!-- 编译时,不生成 javadoc.jar -->
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-javadoc-plugin</artifactId>
  133. <configuration>
  134. <skip>true</skip>
  135. </configuration>
  136. </plugin>
  137. <!-- 编译时,不生成 sources.jar -->
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-source-plugin</artifactId>
  141. <configuration>
  142. <skipSource>true</skipSource>
  143. </configuration>
  144. </plugin>
  145. </plugins>
  146. </build>
  147. </project>