<?xml version="1.0" encoding="UTF-8"?>
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<parent>
|
<groupId>org.example</groupId>
|
<artifactId>webSocketProject</artifactId>
|
<version>1.0-SNAPSHOT</version>
|
</parent>
|
|
<artifactId>websocketSerivce</artifactId>
|
|
<properties>
|
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.target>8</maven.compiler.target>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<commons-lang3-version>3.7</commons-lang3-version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>redis.clients</groupId>
|
<artifactId>jedis</artifactId>
|
<version>3.7.0</version>
|
</dependency>
|
<!-- 阿里数据库连接池 -->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>1.2.11</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
<version>3.0.9</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.penggle</groupId>
|
<artifactId>kaptcha</artifactId>
|
<version>2.3.2</version>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>3.4.3.2</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
<version>5.7.12</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
<version>${commons-lang3-version}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5.13</version>
|
<scope>compile</scope>
|
</dependency>
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
<version>2.8.9</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba.fastjson2</groupId>
|
<artifactId>fastjson2</artifactId>
|
<version>2.0.7</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.80</version>
|
</dependency>
|
<dependency>
|
<groupId>net.sf.json-lib</groupId>
|
<artifactId>json-lib</artifactId>
|
<version>2.4</version>
|
<classifier>jdk15</classifier>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
</dependency>
|
|
<!-- Mybatis的场景启动器 -->
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>2.2.2</version>
|
</dependency>
|
<dependency>
|
<groupId>io.swagger</groupId>
|
<artifactId>swagger-annotations</artifactId>
|
<version>1.5.20</version>
|
</dependency>
|
<dependency>
|
<groupId>commons-net</groupId>
|
<artifactId>commons-net</artifactId>
|
<version>3.6</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
<version>31.1-jre</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
<version>2.9.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.squareup.okhttp3</groupId>
|
<artifactId>okhttp</artifactId>
|
<version>4.9.3</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.squareup.okhttp3</groupId>
|
<artifactId>logging-interceptor</artifactId>
|
<version>4.9.3</version>
|
</dependency>
|
</dependencies>
|
<build>
|
<finalName>websocketSerivce</finalName>
|
<plugins>
|
<!-- 打包项目 mvn clean package -->
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<!-- 指定main方法入口 -->
|
<configuration>
|
<mainClass>org.example.WsServerApplication</mainClass>
|
</configuration>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|