pom.xml 3.2 KB

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