pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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>iot-common</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>iot-common-web</artifactId>
  12. <dependencies>
  13. <!-- SpringBoot Web容器 -->
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. <exclusions>
  18. <exclusion>
  19. <artifactId>spring-boot-starter-tomcat</artifactId>
  20. <groupId>org.springframework.boot</groupId>
  21. </exclusion>
  22. </exclusions>
  23. </dependency>
  24. <!-- web 容器使用 undertow 性能更强 -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-undertow</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>cn.hutool</groupId>
  31. <artifactId>hutool-captcha</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.projectlombok</groupId>
  35. <artifactId>lombok</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cc.iotkit</groupId>
  39. <artifactId>iot-common-core</artifactId>
  40. </dependency>
  41. </dependencies>
  42. <build>
  43. <plugins>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-compiler-plugin</artifactId>
  47. <configuration>
  48. <source>${java.version}</source>
  49. <target>${java.version}</target>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. </build>
  54. </project>