pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <!-- 工具类相关 -->
  30. <dependency>
  31. <groupId>com.fasterxml.jackson.core</groupId>
  32. <artifactId>jackson-databind</artifactId>
  33. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  34. </dependency>
  35. <dependency>
  36. <groupId>org.pf4j</groupId> <!-- PF4J:内置插件机制 -->
  37. <artifactId>pf4j-spring</artifactId>
  38. <!-- TODO @芋艿:可以放到 bom 里配置 -->
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.slf4j</groupId>
  42. <artifactId>slf4j-log4j12</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <!-- 参数校验 -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-validation</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. </dependencies>
  53. </project>