pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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.0.1-SNAPSHOT</version>
  7. <name>component-parent</name>
  8. <packaging>pom</packaging>
  9. <description>component parent project</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.3.2.RELEASE</version>
  14. <relativePath/> <!-- lookup parent from repository -->
  15. </parent>
  16. <modules>
  17. <module>component-common</module>
  18. <module>component-entity</module>
  19. <module>component-database</module>
  20. <module>component-websecurity</module>
  21. <module>component-sso</module>
  22. <module>component-springboot</module>
  23. </modules>
  24. <properties>
  25. <gihon.version>0.0.1-SNAPSHOT</gihon.version>
  26. <java.version>1.8</java.version>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  29. <mybatis.version>2.1.3</mybatis.version>
  30. <mybatis.plus.version>3.3.1</mybatis.plus.version>
  31. <lombok.version>1.16.20</lombok.version>
  32. <easyexcel.version>3.0.5</easyexcel.version>
  33. <druid.version>1.1.21</druid.version>
  34. <kaptcha.version>0.0.9</kaptcha.version>
  35. <shiro.version>1.4.0</shiro.version>
  36. <jsoup.version>1.9.2</jsoup.version>
  37. <knife4j.version>3.0.2</knife4j.version>
  38. <sonar.projectName>gihon-component</sonar.projectName>
  39. <!-- 只能是mvn sonar:sonar -Dsonar.projectKey=gihon-component 这个标识是唯一的,会自动使用maven的坐标-->
  40. </properties>
  41. <dependencyManagement>
  42. <dependencies>
  43. <dependency>
  44. <groupId>org.apache.shiro</groupId>
  45. <artifactId>shiro-core</artifactId>
  46. <version>${shiro.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.shiro</groupId>
  50. <artifactId>shiro-spring</artifactId>
  51. <version>${shiro.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.jsoup</groupId>
  55. <artifactId>jsoup</artifactId>
  56. <version>${jsoup.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.github.axet</groupId>
  60. <artifactId>kaptcha</artifactId>
  61. <version>${kaptcha.version}</version>
  62. </dependency>
  63. <!--druid数据库-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-jdbc</artifactId>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>com.zaxxer</groupId>
  70. <artifactId>HikariCP</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>druid-spring-boot-starter</artifactId>
  77. <version>${druid.version}</version>
  78. </dependency>
  79. <!-- mybatis -->
  80. <dependency>
  81. <groupId>org.mybatis.spring.boot</groupId>
  82. <artifactId>mybatis-spring-boot-starter</artifactId>
  83. <version>${mybatis.version}</version>
  84. </dependency>
  85. <!-- mybatis-plus -->
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <artifactId>mybatis-plus-boot-starter</artifactId>
  89. <version>${mybatis.plus.version}</version>
  90. </dependency>
  91. <!-- mybatis-plus -->
  92. <!--easyexcel-->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>easyexcel</artifactId>
  96. <version>${easyexcel.version}</version>
  97. </dependency>
  98. <!--knife4j相关-->
  99. <dependency>
  100. <groupId>com.github.xiaoymin</groupId>
  101. <artifactId>knife4j-spring-boot-starter</artifactId>
  102. <version>${knife4j.version}</version>
  103. </dependency>
  104. <!--gihon-util-->
  105. <dependency>
  106. <groupId>gihon.component</groupId>
  107. <artifactId>component-common</artifactId>
  108. <version>${gihon.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>gihon.component</groupId>
  112. <artifactId>component-entity</artifactId>
  113. <version>${gihon.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>gihon.component</groupId>
  117. <artifactId>component-database</artifactId>
  118. <version>${gihon.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>gihon.component</groupId>
  122. <artifactId>component-websecurity</artifactId>
  123. <version>${gihon.version}</version>
  124. </dependency>
  125. </dependencies>
  126. </dependencyManagement>
  127. <dependencies>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-data-redis</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.hibernate.validator</groupId>
  134. <artifactId>hibernate-validator</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-configuration-processor</artifactId>
  139. <optional>true</optional>
  140. <scope>compile</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. <optional>true</optional>
  146. </dependency>
  147. <!-- Slf4j日志 -->
  148. <dependency>
  149. <groupId>org.slf4j</groupId>
  150. <artifactId>slf4j-api</artifactId>
  151. <optional>true</optional>
  152. </dependency>
  153. </dependencies>
  154. <build>
  155. <plugins>
  156. <plugin>
  157. <groupId>org.sonarsource.scanner.maven</groupId>
  158. <artifactId>sonar-maven-plugin</artifactId>
  159. <version>3.6.0.1398</version>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. </project>