pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <groupId>org.happyframework.cloud</groupId>
  6. <modelVersion>4.0.0</modelVersion>
  7. <version>2.2.0</version>
  8. <artifactId>happy-cloud-monitor</artifactId>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.1.3.RELEASE</version>
  13. <relativePath/>
  14. </parent>
  15. <dependencyManagement>
  16. <dependencies>
  17. <!-- 整合spring-cloud-->
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-dependencies</artifactId>
  21. <version>Greenwich.SR3</version>
  22. <type>pom</type>
  23. <scope>import</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  28. <version>2.1.0.RELEASE</version>
  29. <type>pom</type>
  30. <scope>import</scope>
  31. </dependency>
  32. </dependencies>
  33. </dependencyManagement>
  34. <dependencies>
  35. <!--Spring Boot Admin Server监控服务端-->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-actuator</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>de.codecentric</groupId>
  42. <artifactId>spring-boot-admin-starter-server</artifactId>
  43. <version>2.1.6</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba.cloud</groupId>
  47. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  48. </dependency>
  49. <!--安全模块-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-security</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. <exclusions>
  58. <exclusion>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-tomcat</artifactId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <!--undertow容器-->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-undertow</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-maven-plugin</artifactId>
  75. </plugin>
  76. </plugins>
  77. <resources>
  78. <resource>
  79. <directory>src/main/resources</directory>
  80. <filtering>true</filtering>
  81. </resource>
  82. </resources>
  83. </build>
  84. </project>