pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.11</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <artifactId>citygis-boot</artifactId>
  12. <groupId>com.citygis</groupId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>citygis-boot</name>
  15. <description>citygis-boot</description>
  16. <packaging>pom</packaging>
  17. <modules>
  18. <module>EurekaServer</module>
  19. <module>Provider</module>
  20. <module>Consumer</module>
  21. </modules>
  22. <properties>
  23. <java.version>1.8</java.version>
  24. <spring-cloud.version>2021.0.7</spring-cloud.version>
  25. <spring-boot.version>2.7.11</spring-boot.version>
  26. <eureka.version>4.0.1</eureka.version>
  27. <druid.version>1.2.17</druid.version>
  28. <mybatis.version>3.5.13</mybatis.version>
  29. <lombok.version>1.18.26</lombok.version>
  30. <mapstruct.version>1.5.5.Final</mapstruct.version>
  31. <hutool.version>5.8.16</hutool.version>
  32. </properties>
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-dependencies</artifactId>
  38. <version>${spring-cloud.version}</version>n
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web</artifactId>
  45. <version>${spring-boot.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter</artifactId>
  50. <version>${spring-boot.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-devtools</artifactId>
  55. <version>${spring-boot.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <version>${spring-boot.version}</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.cloud</groupId>
  65. <artifactId>spring-cloud-starter-eureka</artifactId>
  66. <version>${eureka.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.cloud</groupId>
  70. <artifactId>spring-cloud-starter-ribbon</artifactId>
  71. <version>${eureka.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  76. <version>${eureka.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  81. <version>${eureka.version}</version>
  82. </dependency>
  83. <!-- 断路器 -->
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-starter-hystrix</artifactId>
  87. <version>${eureka.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>druid</artifactId>
  92. <version>${druid-version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. <version>${lombok.version}</version>
  98. <optional>true</optional>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mybatis</groupId>
  102. <artifactId>mybatis</artifactId>
  103. <version>${mybatis.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.mapstruct</groupId>
  107. <artifactId>mapstruct</artifactId>
  108. <version>${mapstruct.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>cn.hutool</groupId>
  112. <artifactId>hutool-all</artifactId>
  113. <version>${hutool.version}</version>
  114. </dependency>
  115. </dependencies>
  116. </dependencyManagement>
  117. <build>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-maven-plugin</artifactId>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-compiler-plugin</artifactId>
  126. <version>3.8.1</version>
  127. <configuration>
  128. <source>1.8</source>
  129. <target>1.8</target>
  130. <annotationProcessorPaths>
  131. <path>
  132. <groupId>org.mapstruct</groupId>
  133. <artifactId>mapstruct-processor</artifactId>
  134. <version>${mapstruct.version}</version>
  135. </path>
  136. <path>
  137. <groupId>org.projectlombok</groupId>
  138. <artifactId>lombok</artifactId>
  139. <version>1.18.16</version>
  140. </path>
  141. <!-- This is needed when using Lombok 1.18.16 and above -->
  142. <path>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok-mapstruct-binding</artifactId>
  145. <version>0.2.0</version>
  146. </path>
  147. </annotationProcessorPaths>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>