pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.ruoyi</groupId>
  7. <artifactId>ruoyi-visual</artifactId>
  8. <version>0.7.0</version>
  9. </parent>
  10. <artifactId>ruoyi-sentinel-dashboard</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <sentinel.version>1.8.3</sentinel.version>
  14. <resource.delimiter>@</resource.delimiter>
  15. <curator.version>4.0.1</curator.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.alibaba.csp</groupId>
  20. <artifactId>sentinel-core</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.alibaba.csp</groupId>
  24. <artifactId>sentinel-web-servlet</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.alibaba.csp</groupId>
  28. <artifactId>sentinel-transport-simple-http</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba.csp</groupId>
  32. <artifactId>sentinel-parameter-flow-control</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba.csp</groupId>
  36. <artifactId>sentinel-api-gateway-adapter-common</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.apache.logging.log4j</groupId>
  44. <artifactId>log4j-to-slf4j</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>commons-lang</groupId>
  50. <artifactId>commons-lang</artifactId>
  51. <version>2.6</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.httpcomponents</groupId>
  55. <artifactId>httpclient</artifactId>
  56. <version>4.5.13</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.httpcomponents</groupId>
  60. <artifactId>httpcore</artifactId>
  61. <version>4.4.5</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.httpcomponents</groupId>
  65. <artifactId>httpasyncclient</artifactId>
  66. <version>4.1.3</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.httpcomponents</groupId>
  70. <artifactId>httpcore-nio</artifactId>
  71. <version>4.4.6</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>fastjson</artifactId>
  76. <version>1.2.75</version>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <pluginManagement>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-resources-plugin</artifactId>
  85. <configuration>
  86. <delimiters>
  87. <delimiter>${resource.delimiter}</delimiter>
  88. </delimiters>
  89. <useDefaultDelimiters>false</useDefaultDelimiters>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. </pluginManagement>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <version>${spring-boot.version}</version>
  99. <configuration>
  100. <fork>true</fork>
  101. <mainClass>com.alibaba.csp.sentinel.dashboard.DashboardApplication</mainClass>
  102. </configuration>
  103. <executions>
  104. <execution>
  105. <goals>
  106. <goal>repackage</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>com.spotify</groupId>
  113. <artifactId>docker-maven-plugin</artifactId>
  114. </plugin>
  115. </plugins>
  116. <resources>
  117. <resource>
  118. <directory>src/main/resources</directory>
  119. <filtering>true</filtering>
  120. </resource>
  121. <resource>
  122. <directory>src/main/webapp/</directory>
  123. <excludes>
  124. <exclude>resources/node_modules/**</exclude>
  125. </excludes>
  126. </resource>
  127. </resources>
  128. </build>
  129. </project>