| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 | <?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">    <parent>        <artifactId>fs</artifactId>        <groupId>com.fs</groupId>        <version>1.1.0</version>    </parent>    <modelVersion>4.0.0</modelVersion>    <artifactId>fs-websocket</artifactId>    <description>        WebSocket独立服务    </description>    <dependencies>        <!-- Spring Boot WebSocket -->        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-websocket</artifactId>        </dependency>        <!-- Spring Boot Web -->        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-starter-web</artifactId>        </dependency>        <!-- FastJSON -->        <dependency>            <groupId>com.alibaba</groupId>            <artifactId>fastjson</artifactId>        </dependency>        <!-- Lombok -->        <dependency>            <groupId>org.projectlombok</groupId>            <artifactId>lombok</artifactId>            <optional>true</optional>        </dependency>        <!-- Swagger -->        <dependency>            <groupId>io.springfox</groupId>            <artifactId>springfox-swagger2</artifactId>        </dependency>        <!-- swagger2-UI-->        <dependency>            <groupId>io.springfox</groupId>            <artifactId>springfox-swagger-ui</artifactId>        </dependency>        <!-- 显式添加swagger-annotations依赖,因为父项目中被排除了 -->        <dependency>            <groupId>io.swagger</groupId>            <artifactId>swagger-annotations</artifactId>            <version>1.5.21</version>        </dependency>        <!-- 显式添加swagger-models依赖,因为父项目中被排除了 -->        <dependency>            <groupId>io.swagger</groupId>            <artifactId>swagger-models</artifactId>            <version>1.5.21</version>        </dependency>        <!-- 通用模块 -->        <dependency>            <groupId>com.fs</groupId>            <artifactId>fs-common</artifactId>            <!-- 排除 security -->            <exclusions>                <exclusion>                    <groupId>org.springframework.boot</groupId>                    <artifactId>spring-boot-starter-security</artifactId>                </exclusion>            </exclusions>        </dependency>        <!-- Spring Boot DevTools -->        <dependency>            <groupId>org.springframework.boot</groupId>            <artifactId>spring-boot-devtools</artifactId>            <optional>true</optional>        </dependency>    </dependencies>    <build>        <plugins>            <plugin>                <groupId>org.springframework.boot</groupId>                <artifactId>spring-boot-maven-plugin</artifactId>                <version>2.1.1.RELEASE</version>                <configuration>                    <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->                </configuration>                <executions>                    <execution>                        <goals>                            <goal>repackage</goal>                        </goals>                    </execution>                </executions>            </plugin>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-war-plugin</artifactId>                <version>3.1.0</version>                <configuration>                    <failOnMissingWebXml>false</failOnMissingWebXml>                    <warName>${project.artifactId}</warName>                </configuration>            </plugin>        </plugins>        <finalName>${project.artifactId}</finalName>    </build></project>
 |