pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: lengleng (wangiegie@gmail.com)
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>com.pig4cloud</groupId>
  25. <artifactId>pigx-visual</artifactId>
  26. <version>${pigx.version}</version>
  27. </parent>
  28. <artifactId>pigx-monitor</artifactId>
  29. <version>${pigx.version}</version>
  30. <packaging>jar</packaging>
  31. <name>pigx-monitor</name>
  32. <description>pigx 监控模块,基于 spring boot admin</description>
  33. <dependencies>
  34. <!--监控服务端-->
  35. <dependency>
  36. <groupId>de.codecentric</groupId>
  37. <artifactId>spring-boot-admin-starter-server</artifactId>
  38. <version>${monitor.version}</version>
  39. </dependency>
  40. <!--配置中心客户端-->
  41. <dependency>
  42. <groupId>org.springframework.cloud</groupId>
  43. <artifactId>spring-cloud-starter-config</artifactId>
  44. </dependency>
  45. <!--web 模块-->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. <exclusions>
  50. <!--排除tomcat依赖-->
  51. <exclusion>
  52. <artifactId>spring-boot-starter-tomcat</artifactId>
  53. <groupId>org.springframework.boot</groupId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!--undertow容器-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-undertow</artifactId>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-maven-plugin</artifactId>
  68. <configuration>
  69. <finalName>${project.name}</finalName>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>