pom.xml 5.5 KB

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