pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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.common</groupId>
  5. <artifactId>common-parent</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <name>common-parent</name>
  8. <packaging>pom</packaging>
  9. <description>common 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>common-util</module>
  18. <module>common-entity</module>
  19. <module>common-sso</module>
  20. <module>common-sso-security</module>
  21. <module>common-springboot</module>
  22. </modules>
  23. <properties>
  24. <gihon.version>0.0.1-SNAPSHOT</gihon.version>
  25. <java.version>1.8</java.version>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  28. <mybatis.version>2.1.3</mybatis.version>
  29. <mybatis.plus.version>3.3.1</mybatis.plus.version>
  30. <lombok.version>1.16.20</lombok.version>
  31. <easyexcel.version>3.0.5</easyexcel.version>
  32. <druid.version>1.1.21</druid.version>
  33. <knife4j.version>3.0.2</knife4j.version>
  34. </properties>
  35. <dependencyManagement>
  36. <dependencies>
  37. <!--druid数据库-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-jdbc</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>com.zaxxer</groupId>
  44. <artifactId>HikariCP</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>druid-spring-boot-starter</artifactId>
  51. <version>${druid.version}</version>
  52. </dependency>
  53. <!-- mybatis -->
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>${mybatis.version}</version>
  58. </dependency>
  59. <!-- mybatis-plus -->
  60. <dependency>
  61. <groupId>com.baomidou</groupId>
  62. <artifactId>mybatis-plus-boot-starter</artifactId>
  63. <version>${mybatis.plus.version}</version>
  64. </dependency>
  65. <!-- mybatis-plus -->
  66. <!--easyexcel-->
  67. <dependency>
  68. <groupId>com.alibaba</groupId>
  69. <artifactId>easyexcel</artifactId>
  70. <version>${easyexcel.version}</version>
  71. </dependency>
  72. <!--knife4j相关-->
  73. <dependency>
  74. <groupId>com.github.xiaoymin</groupId>
  75. <artifactId>knife4j-spring-boot-starter</artifactId>
  76. <version>${knife4j.version}</version>
  77. </dependency>
  78. <!--gihon-util-->
  79. <dependency>
  80. <groupId>gihon.common</groupId>
  81. <artifactId>common-util</artifactId>
  82. <version>${gihon.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>gihon.common</groupId>
  86. <artifactId>common-entity</artifactId>
  87. <version>${gihon.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>gihon.common</groupId>
  91. <artifactId>common-sso</artifactId>
  92. <version>${gihon.version}</version>
  93. <!-- security 按需开启引用 -->
  94. <!-- <exclusions>
  95. <exclusion>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-security</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-oauth2-client</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  106. </exclusion>
  107. </exclusions> -->
  108. </dependency>
  109. </dependencies>
  110. </dependencyManagement>
  111. <dependencies>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-data-redis</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.hibernate.validator</groupId>
  118. <artifactId>hibernate-validator</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-configuration-processor</artifactId>
  123. <optional>true</optional>
  124. <scope>compile</scope>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. </build>
  129. </project>