pom.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>com.crunii.microservice</groupId>
  7. <artifactId>micro-common-component</artifactId>
  8. <version>${micro.version}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>micro-common-web</artifactId>
  12. <description>
  13. micro-common-web web服务
  14. </description>
  15. <dependencies>
  16. <!-- SpringBoot Web容器 -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. <exclusions>
  21. <exclusion>
  22. <artifactId>spring-boot-starter-tomcat</artifactId>
  23. <groupId>org.springframework.boot</groupId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <!-- web 容器使用 undertow 性能更强 -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-undertow</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  35. <optional>true</optional>
  36. </dependency>
  37. </dependencies>
  38. </project>