pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>gihon.component</groupId>
  5. <artifactId>component-parent</artifactId>
  6. <version>0.3.0-SNAPSHOT</version>
  7. <name>component-parent</name>
  8. <packaging>pom</packaging>
  9. <description>component parent project</description>
  10. <modules>
  11. <module>component-common</module>
  12. <module>component-springboot</module>
  13. </modules>
  14. <properties>
  15. <assembly.path>${project.basedir}/../assembly/</assembly.path>
  16. <assembly.filter.path>src/assembly/filter.properties</assembly.filter.path>
  17. <gihon.version>0.3.0-SNAPSHOT</gihon.version>
  18. <java.version>1.8</java.version>
  19. <maven.compiler.source>8</maven.compiler.source>
  20. <maven.compiler.target>8</maven.compiler.target>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <mybatis.version>2.1.3</mybatis.version>
  24. <mybatis.plus.version>3.4.0</mybatis.plus.version>
  25. <lombok.version>1.16.20</lombok.version>
  26. <easyexcel.version>3.0.5</easyexcel.version>
  27. <druid.version>1.1.21</druid.version>
  28. <kaptcha.version>0.0.9</kaptcha.version>
  29. <jsoup.version>1.9.2</jsoup.version>
  30. <knife4j.version>3.0.2</knife4j.version>
  31. <spring.boot.version>2.7.5</spring.boot.version>
  32. <jakarta-json.version>2.0.1</jakarta-json.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-dependencies</artifactId>
  39. <version>${spring.boot.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.jsoup</groupId>
  45. <artifactId>jsoup</artifactId>
  46. <version>${jsoup.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.github.axet</groupId>
  50. <artifactId>kaptcha</artifactId>
  51. <version>${kaptcha.version}</version>
  52. </dependency>
  53. <!--druid数据库-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-jdbc</artifactId>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>com.zaxxer</groupId>
  60. <artifactId>HikariCP</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. <version>${druid.version}</version>
  68. </dependency>
  69. <!-- mybatis -->
  70. <dependency>
  71. <groupId>org.mybatis.spring.boot</groupId>
  72. <artifactId>mybatis-spring-boot-starter</artifactId>
  73. <version>${mybatis.version}</version>
  74. </dependency>
  75. <!-- mybatis-plus -->
  76. <dependency>
  77. <groupId>com.baomidou</groupId>
  78. <artifactId>mybatis-plus-boot-starter</artifactId>
  79. <version>${mybatis.plus.version}</version>
  80. </dependency>
  81. <!-- mybatis-plus -->
  82. <!--easyexcel-->
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>easyexcel</artifactId>
  86. <version>${easyexcel.version}</version>
  87. </dependency>
  88. <!--knife4j相关-->
  89. <dependency>
  90. <groupId>com.github.xiaoymin</groupId>
  91. <artifactId>knife4j-spring-boot-starter</artifactId>
  92. <version>${knife4j.version}</version>
  93. </dependency>
  94. <!--gihon-util-->
  95. <dependency>
  96. <groupId>gihon.component</groupId>
  97. <artifactId>component-common</artifactId>
  98. <version>${project.version}</version>
  99. </dependency>
  100. </dependencies>
  101. </dependencyManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-data-redis</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.hibernate.validator</groupId>
  109. <artifactId>hibernate-validator</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-configuration-processor</artifactId>
  114. <optional>true</optional>
  115. <scope>compile</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.projectlombok</groupId>
  119. <artifactId>lombok</artifactId>
  120. <optional>true</optional>
  121. </dependency>
  122. <!-- Slf4j日志 -->
  123. <dependency>
  124. <groupId>org.slf4j</groupId>
  125. <artifactId>slf4j-api</artifactId>
  126. <optional>true</optional>
  127. </dependency>
  128. </dependencies>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. </plugin>
  135. </plugins>
  136. </build>
  137. </project>