pom.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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>pipe-network-service</artifactId>
  7. <groupId>com.zksy</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zksy-system</artifactId>
  12. <dependencies>
  13. <!-- 仅共享纯阈值规则,不引入采集服务的组件和写入服务。 -->
  14. <dependency>
  15. <groupId>com.zksy</groupId>
  16. <artifactId>monitoring-threshold-rules</artifactId>
  17. <version>1.0.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-test</artifactId>
  22. <scope>test</scope>
  23. </dependency>
  24. <!-- 通用工具-->
  25. <dependency>
  26. <groupId>com.zksy</groupId>
  27. <artifactId>zksy-common</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <scope>provided</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.baomidou</groupId>
  36. <artifactId>mybatis-plus-boot-starter</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.com.kingbase</groupId>
  40. <artifactId>kingbase8</artifactId>
  41. <version>9.0.0</version> <!-- 根据你的JDK版本选择合适的版本 -->
  42. </dependency>
  43. <dependency>
  44. <groupId>com.github.xiaoymin</groupId>
  45. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.hutool</groupId>
  49. <artifactId>hutool-all</artifactId>
  50. </dependency>
  51. <!--
  52. SSE 通道(com.zksy.dispatch.support.SseEmitterManager)直接使用 SseEmitter。
  53. spring-webmvc 只由 springfox-spring-webmvc 以 provided 传递(provided 不传递到编译期),
  54. 故模块编译期缺类;运行期 boot 包内已有该 jar(BOOT-INF/lib/spring-webmvc-5.3.39.jar)。
  55. 这里按 same-scope 显式声明,仅补齐编译期。
  56. -->
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-webmvc</artifactId>
  60. <scope>provided</scope>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <configuration>
  69. <source>11</source>
  70. <target>11</target>
  71. </configuration>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. </project>