pom.xml 3.5 KB

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