pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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>yudao-module-iot</artifactId>
  7. <groupId>cn.iocoder.boot</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-module-iot-api</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <!-- TODO 芋艿:需要在整理下,特别是 PF4J -->
  15. <description>
  16. 物联网 模块 API,暴露给其它模块调用
  17. </description>
  18. <dependencies>
  19. <dependency>
  20. <groupId>cn.iocoder.boot</groupId>
  21. <artifactId>yudao-common</artifactId>
  22. </dependency>
  23. <!-- Web 相关 -->
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-web</artifactId>
  27. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  28. </dependency>
  29. <!-- PF4J -->
  30. <!-- TODO 芋艿:这个依赖,要不要放在 api 包 -->
  31. <dependency>
  32. <groupId>org.pf4j</groupId>
  33. <artifactId>pf4j-spring</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.slf4j</groupId>
  37. <artifactId>slf4j-log4j12</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <!-- 工具类相关 -->
  42. <dependency>
  43. <groupId>com.fasterxml.jackson.core</groupId>
  44. <artifactId>jackson-databind</artifactId>
  45. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  46. </dependency>
  47. <!-- 参数校验 -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-validation</artifactId>
  51. <optional>true</optional>
  52. </dependency>
  53. </dependencies>
  54. </project>