pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <parent>
  6. <groupId>com.yihu.jw</groupId>
  7. <artifactId>wlyy-parent-pom</artifactId>
  8. <version>2.0.0</version>
  9. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>svr-admin-server</artifactId>
  13. <version>${parent.version}</version>
  14. <dependencies>
  15. <!-- apollo支持 -->
  16. <dependency>
  17. <groupId>com.yihu.jkzl</groupId>
  18. <artifactId>apollo-client</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-mail</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-actuator-docs</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-actuator</artifactId>
  31. </dependency>
  32. <!--服务器监监听-->
  33. <dependency>
  34. <groupId>de.codecentric</groupId>
  35. <artifactId>spring-boot-admin-server</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>de.codecentric</groupId>
  39. <artifactId>spring-boot-admin-server-ui</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>de.codecentric</groupId>
  43. <artifactId>spring-boot-admin-server-ui-hystrix</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>de.codecentric</groupId>
  47. <artifactId>spring-boot-admin-server-ui-turbine</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-mail</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-eureka</artifactId>
  56. </dependency>
  57. <!-- <dependency>
  58. <groupId>org.springframework.cloud</groupId>
  59. <artifactId>spring-cloud-starter-config</artifactId>
  60. </dependency>-->
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-starter-zuul</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.netflix.servo</groupId>
  67. <artifactId>servo-core</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <finalName>svr-admin-server</finalName>
  72. <plugins>
  73. <plugin>
  74. <artifactId>maven-war-plugin</artifactId>
  75. <configuration>
  76. <failOnMissingWebXml>false</failOnMissingWebXml>
  77. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>repackage</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. <configuration>
  91. <mainClass>com.yihu.admin.AdminServer</mainClass>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>