pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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.taais</groupId>
  7. <artifactId>taais-extra</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>taais-monitor</artifactId>
  13. <dependencies>
  14. <!-- SpringWeb模块 -->
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. <!-- &lt;!&ndash; 移除掉默认支持的 Tomcat &ndash;&gt;-->
  19. <!-- <exclusions>-->
  20. <!-- <exclusion>-->
  21. <!-- <groupId>org.springframework.boot</groupId>-->
  22. <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
  23. <!-- </exclusion>-->
  24. <!-- </exclusions>-->
  25. </dependency>
  26. <!-- &lt;!&ndash; undertow &ndash;&gt;-->
  27. <!-- <dependency>-->
  28. <!-- <groupId>org.springframework.boot</groupId>-->
  29. <!-- <artifactId>spring-boot-starter-undertow</artifactId>-->
  30. <!-- </dependency>-->
  31. <!-- spring security 安全认证 -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-security</artifactId>
  35. </dependency>
  36. <!-- spring-boot-admin 监控服务端 -->
  37. <dependency>
  38. <groupId>de.codecentric</groupId>
  39. <artifactId>spring-boot-admin-starter-server</artifactId>
  40. </dependency>
  41. <!-- spring-boot-admin 监控客户端 -->
  42. <dependency>
  43. <groupId>de.codecentric</groupId>
  44. <artifactId>spring-boot-admin-starter-client</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <finalName>${project.artifactId}</finalName>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. <version>${spring-boot.version}</version>
  58. <executions>
  59. <execution>
  60. <goals>
  61. <goal>repackage</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </project>