pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. <description>
  15. 物联网 模块 API,暴露给其它模块调用
  16. </description>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.iocoder.boot</groupId>
  20. <artifactId>yudao-common</artifactId>
  21. </dependency>
  22. <!-- Web 相关 -->
  23. <dependency>
  24. <groupId>org.springframework</groupId>
  25. <artifactId>spring-web</artifactId>
  26. <scope>provided</scope> <!-- 设置为 provided,只有工具类需要使用到 -->
  27. </dependency>
  28. <!-- PF4J -->
  29. <!-- TODO 芋艿:这个依赖,要不要放在 api 包 -->
  30. <dependency>
  31. <groupId>org.pf4j</groupId>
  32. <artifactId>pf4j-spring</artifactId>
  33. <exclusions>
  34. <exclusion>
  35. <groupId>org.slf4j</groupId>
  36. <artifactId>slf4j-log4j12</artifactId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <!-- 参数校验 -->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-validation</artifactId>
  44. <optional>true</optional>
  45. </dependency>
  46. </dependencies>
  47. </project>