pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. <repositories>
  34. <repository>
  35. <id>maven-nexus</id>
  36. <name>maven-nexus</name>
  37. <url>http://2800a099x6.wicp.vip:8180/repository/maven-public/</url>
  38. </repository>
  39. </repositories>
  40. <dependencyManagement>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-dependencies</artifactId>
  45. <version>${spring-cloud.version}</version>n
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. <version>${spring-boot.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter</artifactId>
  57. <version>${spring-boot.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <version>${spring-boot.version}</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <version>${spring-boot.version}</version>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-starter-eureka</artifactId>
  73. <version>${eureka.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.cloud</groupId>
  77. <artifactId>spring-cloud-starter-ribbon</artifactId>
  78. <version>${eureka.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  83. <version>${eureka.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.cloud</groupId>
  87. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  88. <version>${eureka.version}</version>
  89. </dependency>
  90. <!-- 断路器 -->
  91. <dependency>
  92. <groupId>org.springframework.cloud</groupId>
  93. <artifactId>spring-cloud-starter-hystrix</artifactId>
  94. <version>${eureka.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>druid</artifactId>
  99. <version>${druid-version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. <version>${lombok.version}</version>
  105. <optional>true</optional>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.mybatis</groupId>
  109. <artifactId>mybatis</artifactId>
  110. <version>${mybatis.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.mapstruct</groupId>
  114. <artifactId>mapstruct</artifactId>
  115. <version>${mapstruct.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>cn.hutool</groupId>
  119. <artifactId>hutool-all</artifactId>
  120. <version>${hutool.version}</version>
  121. </dependency>
  122. </dependencies>
  123. </dependencyManagement>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-maven-plugin</artifactId>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <version>3.8.1</version>
  134. <configuration>
  135. <source>1.8</source>
  136. <target>1.8</target>
  137. <annotationProcessorPaths>
  138. <path>
  139. <groupId>org.mapstruct</groupId>
  140. <artifactId>mapstruct-processor</artifactId>
  141. <version>${mapstruct.version}</version>
  142. </path>
  143. <path>
  144. <groupId>org.projectlombok</groupId>
  145. <artifactId>lombok</artifactId>
  146. <version>1.18.16</version>
  147. </path>
  148. <!-- This is needed when using Lombok 1.18.16 and above -->
  149. <path>
  150. <groupId>org.projectlombok</groupId>
  151. <artifactId>lombok-mapstruct-binding</artifactId>
  152. <version>0.2.0</version>
  153. </path>
  154. </annotationProcessorPaths>
  155. </configuration>
  156. </plugin>
  157. </plugins>
  158. </build>
  159. </project>