pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. <modelVersion>4.0.0</modelVersion>
  6. <!-- 监控父项目,为监控客户端父项目 -->
  7. <parent>
  8. <artifactId>phoenix-client</artifactId>
  9. <groupId>com.gitee.pifeng</groupId>
  10. <version>1.2.4.RELEASE-CR7</version>
  11. <relativePath>..</relativePath>
  12. </parent>
  13. <!-- 项目基本信息 -->
  14. <artifactId>phoenix-client-core</artifactId>
  15. <name>phoenix-client-core</name>
  16. <packaging>jar</packaging>
  17. <description>监控客户端</description>
  18. <!-- 依赖 -->
  19. <dependencies>
  20. <!-- 监控公共模块依赖 -->
  21. <dependency>
  22. <groupId>com.gitee.pifeng</groupId>
  23. <artifactId>phoenix-common-core</artifactId>
  24. </dependency>
  25. <!--lombok依赖 -->
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. <optional>true</optional>
  30. </dependency>
  31. <!-- slf4j日志依赖 -->
  32. <dependency>
  33. <groupId>org.slf4j</groupId>
  34. <artifactId>slf4j-api</artifactId>
  35. <optional>true</optional>
  36. </dependency>
  37. <!-- 日志实现依赖 -->
  38. <dependency>
  39. <groupId>ch.qos.logback</groupId>
  40. <artifactId>logback-classic</artifactId>
  41. <optional>true</optional>
  42. </dependency>
  43. <!-- junit单元测试依赖 -->
  44. <dependency>
  45. <groupId>junit</groupId>
  46. <artifactId>junit</artifactId>
  47. <scope>test</scope>
  48. <optional>true</optional>
  49. </dependency>
  50. <!-- HTTP协议的客户端/服务器编程工具包依赖 -->
  51. <dependency>
  52. <groupId>org.apache.httpcomponents</groupId>
  53. <artifactId>httpclient</artifactId>
  54. </dependency>
  55. </dependencies>
  56. <!-- 构建 -->
  57. <build>
  58. <defaultGoal>package</defaultGoal>
  59. <resources>
  60. <resource>
  61. <directory>src/main/resources</directory>
  62. <excludes>
  63. <!-- 排除掉监控配置文件 -->
  64. <exclude>monitoring.properties</exclude>
  65. </excludes>
  66. </resource>
  67. </resources>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-compiler-plugin</artifactId>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>