pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. <artifactId>tofly-monitor</artifactId>
  7. <groupId>com.tofly</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>monitor-center</artifactId>
  13. <dependencies>
  14. <!--监控服务端-->
  15. <dependency>
  16. <groupId>de.codecentric</groupId>
  17. <artifactId>spring-boot-admin-starter-server</artifactId>
  18. <version>${spring-boot-admin.version}</version>
  19. </dependency>
  20. <!--配置中心客户端-->
  21. <dependency>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter-config</artifactId>
  24. </dependency>
  25. <!--web 模块-->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <exclusions>
  30. <!--排除tomcat依赖-->
  31. <exclusion>
  32. <artifactId>spring-boot-starter-tomcat</artifactId>
  33. <groupId>org.springframework.boot</groupId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <!--undertow容器-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-undertow</artifactId>
  41. </dependency>
  42. <!--security-->
  43. <!--<dependency>-->
  44. <!--<groupId>org.springframework.boot</groupId>-->
  45. <!--<artifactId>spring-boot-starter-security</artifactId>-->
  46. <!--</dependency>-->
  47. <dependency>
  48. <groupId>com.tofly</groupId>
  49. <artifactId>common-oauth</artifactId>
  50. <version>1.0-SNAPSHOT</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-boot-starter</artifactId>
  55. </exclusion>
  56. <exclusion>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>druid-spring-boot-starter</artifactId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. </dependencies>
  63. <!--<build>-->
  64. <!--<plugins>-->
  65. <!--<plugin>-->
  66. <!--<groupId>org.springframework.boot</groupId>-->
  67. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  68. <!--</plugin>-->
  69. <!--<plugin>-->
  70. <!--<groupId>com.spotify</groupId>-->
  71. <!--<artifactId>docker-maven-plugin</artifactId>-->
  72. <!--</plugin>-->
  73. <!--</plugins>-->
  74. <!--</build>-->
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>repackage</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>