pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <parent>
  6. <artifactId>web</artifactId>
  7. <groupId>com.gyee</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>health</artifactId>
  12. <!-- 统一管理jar包版本 -->
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <maven.compiler.source>1.8</maven.compiler.source>
  16. <maven.compiler.target>1.8</maven.compiler.target>
  17. <junit.version>4.12</junit.version>
  18. <log4j.version>2.15.0</log4j.version>
  19. <lombok.version>1.18.16</lombok.version>
  20. <mysql.version>5.1.45</mysql.version>
  21. <druid.version>1.2.5</druid.version>
  22. <mybatis.spring.boot.version>1.3.2</mybatis.spring.boot.version>
  23. <mybatis-plus.boot.starter.version>3.5.3.1</mybatis-plus.boot.starter.version>
  24. <mybatis-plus.generator.version>3.5.3.1</mybatis-plus.generator.version>
  25. <pgsql.version>42.2.5</pgsql.version>
  26. <groovy.version>3.0.8</groovy.version>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-actuator</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-aop</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-websocket</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.projectlombok</groupId>
  52. <artifactId>lombok</artifactId>
  53. <optional>true</optional>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.gyee</groupId>
  57. <artifactId>common</artifactId>
  58. <version>1.0-SNAPSHOT</version>
  59. <scope>compile</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba</groupId>
  63. <artifactId>fastjson</artifactId>
  64. <version>1.2.7</version>
  65. <scope>compile</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.baomidou</groupId>
  69. <artifactId>mybatis-plus-boot-starter</artifactId>
  70. <version>${mybatis-plus.boot.starter.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.baomidou</groupId>
  74. <artifactId>mybatis-plus-generator</artifactId>
  75. <version>${mybatis-plus.generator.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.baomidou</groupId>
  79. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  80. <version>3.5.0</version>
  81. </dependency>
  82. <!--nacos 依赖-->
  83. <dependency>
  84. <groupId>com.alibaba.cloud</groupId>
  85. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.postgresql</groupId>
  89. <artifactId>postgresql</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>cn.hutool</groupId>
  93. <artifactId>hutool-all</artifactId>
  94. <version>5.1.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>redis.clients</groupId>
  98. <artifactId>jedis</artifactId>
  99. <version>3.2.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.fasterxml.jackson.core</groupId>
  103. <artifactId>jackson-databind</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.data</groupId>
  107. <artifactId>spring-data-redis</artifactId>
  108. </dependency>
  109. <!-- 添加swagger2 -->
  110. <dependency>
  111. <groupId>io.springfox</groupId>
  112. <artifactId>springfox-swagger2</artifactId>
  113. <version>2.9.2</version>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>io.swagger</groupId>
  117. <artifactId>swagger-annotations</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>io.swagger</groupId>
  121. <artifactId>swagger-models</artifactId>
  122. </exclusion>
  123. </exclusions>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.springfox</groupId>
  127. <artifactId>springfox-swagger-ui</artifactId>
  128. <version>2.9.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>io.swagger</groupId>
  132. <artifactId>swagger-annotations</artifactId>
  133. <version>1.5.21</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.swagger</groupId>
  137. <artifactId>swagger-models</artifactId>
  138. <version>1.5.21</version>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. <version>2.7.1</version>
  147. <executions>
  148. <execution>
  149. <goals>
  150. <goal>repackage</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>