pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>springcloudalibabaVIP23</artifactId>
  6. <groupId>com.sf</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>cloudalibaba-sentinel-service8401</artifactId>
  11. <name>cloudalibaba-sentinel-service8401</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://www.example.com</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>junit</groupId>
  22. <artifactId>junit</artifactId>
  23. <version>4.12</version>
  24. <scope>test</scope>
  25. </dependency>
  26. <!--springcloud ailibaba nacos -->
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  30. </dependency>
  31. <!--Springcloud ailibaba sentinel-datasource-nacos后续做特久化用-->
  32. <dependency>
  33. <groupId>com.alibaba.csp</groupId>
  34. <artifactId>sentinel-datasource-nacos</artifactId>
  35. </dependency>
  36. <!-- sentinel核心库 -->
  37. <dependency>
  38. <groupId>com.alibaba.csp</groupId>
  39. <artifactId>sentinel-core</artifactId>
  40. <version>1.8.1</version>
  41. </dependency>
  42. <!-- 如果要使用@SentinelResource必须添加此依赖 -->
  43. <dependency>
  44. <groupId>com.alibaba.csp</groupId>
  45. <artifactId>sentinel-annotation-aspectj</artifactId>
  46. <version>1.8.1</version>
  47. </dependency>
  48. <!-- 整合sentinel控制台 -->
  49. <dependency>
  50. <groupId>com.alibaba.csp</groupId>
  51. <artifactId>sentinel-transport-simple-http</artifactId>
  52. <version>1.8.1</version>
  53. </dependency>
  54. <!--Springcloud ailibaba sentinel -->
  55. <dependency>
  56. <groupId>com.alibaba.cloud</groupId>
  57. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  58. </dependency>
  59. <!--openfeign 马上会用到接口调用-->
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-openfeign</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.sf</groupId>
  66. <artifactId>cloud-api-commons</artifactId>
  67. <version>1.0-SNAPSHOT</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-actuator</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-devtools</artifactId>
  80. <scope>runtime</scope>
  81. <optional>true</optional>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.projectlombok</groupId>
  90. <artifactId>lombok</artifactId>
  91. <version>1.18.16</version>
  92. <scope>compile</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-test</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>junit</groupId>
  101. <artifactId>junit</artifactId>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  106. <plugins>
  107. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  108. <plugin>
  109. <artifactId>maven-clean-plugin</artifactId>
  110. <version>3.1.0</version>
  111. </plugin>
  112. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  113. <plugin>
  114. <artifactId>maven-resources-plugin</artifactId>
  115. <version>3.0.2</version>
  116. </plugin>
  117. <plugin>
  118. <artifactId>maven-compiler-plugin</artifactId>
  119. <version>3.8.0</version>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-surefire-plugin</artifactId>
  123. <version>2.22.1</version>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-jar-plugin</artifactId>
  127. <version>3.0.2</version>
  128. </plugin>
  129. <plugin>
  130. <artifactId>maven-install-plugin</artifactId>
  131. <version>2.5.2</version>
  132. </plugin>
  133. <plugin>
  134. <artifactId>maven-deploy-plugin</artifactId>
  135. <version>2.8.2</version>
  136. </plugin>
  137. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  138. <plugin>
  139. <artifactId>maven-site-plugin</artifactId>
  140. <version>3.7.1</version>
  141. </plugin>
  142. <plugin>
  143. <artifactId>maven-project-info-reports-plugin</artifactId>
  144. <version>3.0.0</version>
  145. </plugin>
  146. </plugins>
  147. </pluginManagement>
  148. </build>
  149. </project>