pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. <groupId>cc.uncarbon.framework</groupId>
  8. <artifactId>helio-starters</artifactId>
  9. <version>1.7.2</version>
  10. </parent>
  11. <artifactId>helio-boot</artifactId>
  12. <!-- 程序版本号,建议每次打包发布时都调整以作区分 -->
  13. <version>1.7.2</version>
  14. <properties>
  15. <!-- 这里写其他第三方依赖 -->
  16. <!-- 文件上传 -->
  17. <spring-file-storage.version>0.6.1</spring-file-storage.version>
  18. <minio.version>8.4.3</minio.version>
  19. </properties>
  20. <dependencies>
  21. <!-- 脚手架 starters -->
  22. <dependency>
  23. <groupId>cc.uncarbon.framework</groupId>
  24. <artifactId>helio-core</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>cc.uncarbon.framework</groupId>
  28. <artifactId>helio-starter-aop</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>cc.uncarbon.framework</groupId>
  32. <artifactId>helio-starter-crud</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>cc.uncarbon.framework</groupId>
  36. <artifactId>helio-starter-knife4j</artifactId>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>com.github.xiaoymin</groupId>
  40. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <dependency>
  45. <groupId>cc.uncarbon.framework</groupId>
  46. <artifactId>helio-starter-redis</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>cc.uncarbon.framework</groupId>
  50. <artifactId>helio-starter-satoken</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>cc.uncarbon.framework</groupId>
  54. <artifactId>helio-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>cc.uncarbon.framework</groupId>
  59. <artifactId>helio-starter-web</artifactId>
  60. </dependency>
  61. <!-- 这里写其他第三方依赖 -->
  62. <!-- 对象存储工具类 https://gitee.com/XYW1171736840/spring-file-storage -->
  63. <dependency>
  64. <groupId>cn.xuyanwu</groupId>
  65. <artifactId>spring-file-storage</artifactId>
  66. <version>${spring-file-storage.version}</version>
  67. <exclusions>
  68. <!-- helio-core 就带了 hutool,不需要重复引入 -->
  69. <exclusion>
  70. <groupId>cn.hutool</groupId>
  71. <artifactId>hutool-core</artifactId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <!-- MinIO 依赖包 -->
  76. <dependency>
  77. <groupId>io.minio</groupId>
  78. <artifactId>minio</artifactId>
  79. <version>${minio.version}</version>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <!-- Spring Boot 打包插件 -->
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <configuration>
  89. <fork>true</fork>
  90. </configuration>
  91. </plugin>
  92. <!-- 编译时,跳过单元测试 -->
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-surefire-plugin</artifactId>
  96. <configuration>
  97. <skipTests>true</skipTests>
  98. </configuration>
  99. </plugin>
  100. <!-- 编译时,不执行 mvn deploy -->
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-deploy-plugin</artifactId>
  104. <configuration>
  105. <skip>true</skip>
  106. </configuration>
  107. </plugin>
  108. <!-- 编译时,不生成 javadoc.jar -->
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-javadoc-plugin</artifactId>
  112. <configuration>
  113. <skip>true</skip>
  114. </configuration>
  115. </plugin>
  116. <!-- 编译时,不生成 sources.jar -->
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-source-plugin</artifactId>
  120. <configuration>
  121. <skipSource>true</skipSource>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>