pom.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.webchat</groupId>
  7. <artifactId>webchat</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.webchat</groupId>
  11. <artifactId>webchat-connect</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>jar</packaging>
  14. <name>webchat-connect</name>
  15. <description>webchat-connect</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.webchat</groupId>
  22. <artifactId>webchat-remote</artifactId>
  23. <version>1.0-SNAPSHOT</version>
  24. </dependency>
  25. <!-- ################################### 集成websocket ################################### -->
  26. <!-- 引入 websocket 依赖类-->
  27. <!-- Springboot对websocket的能力支持-->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-websocket</artifactId>
  31. </dependency>
  32. <!-- ServerEndpoint注解来自于javax.websocket-api这个包 -->
  33. <dependency>
  34. <groupId>javax.websocket</groupId>
  35. <artifactId>javax.websocket-api</artifactId>
  36. <version>1.1</version>
  37. <scope>provided</scope>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. </plugin>
  46. </plugins>
  47. </build>
  48. </project>