pom.xml 3.5 KB

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