pom.xml 2.5 KB
Newer Older
zlt2000's avatar
zlt2000 已提交
1 2 3 4 5 6
<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>com.zlt</groupId>
        <artifactId>zlt-gateway</artifactId>
zlt2000's avatar
zlt2000 已提交
7
        <version>1.4.0</version>
zlt2000's avatar
zlt2000 已提交
8 9 10
    </parent>
    <artifactId>sc-gateway</artifactId>
    <description>spring cloud gateway网关</description>
zlt2000's avatar
zlt2000 已提交
11

zlt2000's avatar
zlt2000 已提交
12 13 14
    <dependencies>
        <dependency>
            <groupId>com.zlt</groupId>
zlt2000's avatar
zlt2000 已提交
15
            <artifactId>zlt-config</artifactId>
zlt2000's avatar
zlt2000 已提交
16
        </dependency>
zlt2000's avatar
zlt2000 已提交
17
        <!-- 加入redis的处理 -->
zlt2000's avatar
zlt2000 已提交
18 19
        <dependency>
            <groupId>com.zlt</groupId>
zlt2000's avatar
zlt2000 已提交
20
            <artifactId>zlt-redis-spring-boot-starter</artifactId>
zlt2000's avatar
zlt2000 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
        </dependency>

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-webflux</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
        <!-- swagger -->
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <finalName>${project.artifactId}</finalName>
    </build>
</project>