pom.xml 3.7 KB
Newer Older
Q
qinyingjie 已提交
1 2 3 4
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
Q
qinyingjie 已提交
5

Q
qinyingjie 已提交
6
    <groupId>com.kwan.springcloudalibaba</groupId>
Q
qinyingjie 已提交
7 8 9
    <artifactId>nacos-server-parent</artifactId>
    <name>nacos-server-parent</name>
    <description>nacos-server-parent</description>
Q
qinyingjie 已提交
10
    <version>1.0.0-SNAPSHOT</version>
Q
qinyingjie 已提交
11

Q
qinyingjie 已提交
12
    <properties>
Q
qinyingjie 已提交
13 14
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
Q
qinyingjie 已提交
15 16 17
        <java.version>1.8</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18 19
        <spring-boot.version>2.2.5.RELEASE</spring-boot.version>
        <spring-cloud-alibaba.version>2.2.1.RELEASE</spring-cloud-alibaba.version>
Q
qinyingjie 已提交
20 21
    </properties>

Q
qinyingjie 已提交
22 23
    <modules>
        <module>nacos-server-common</module>
24 25
        <module>nacos-server-producer-9091</module>
        <module>nacos-server-producer-9092</module>
Q
qinyingjie 已提交
26
        <module>nacos-server-consumer</module>
27
        <module>nacos-server-feign-api</module>
Q
qinyingjie 已提交
28
        <module>nacos-server-sentinel-consumer</module>
29
        <module>nacos-server-gateway</module>
Q
qinyingjie 已提交
30
    </modules>
Q
qinyingjie 已提交
31 32 33 34 35 36 37 38 39 40

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                <version>${spring-cloud-alibaba.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
41

Q
qinyingjie 已提交
42 43 44 45 46 47
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring-boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
48 49 50 51 52 53 54 55 56 57 58 59 60
                <exclusions>
                    <exclusion>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-web</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>Hoxton.SR3</version>
                <type>pom</type>
                <scope>import</scope>
Q
qinyingjie 已提交
61
            </dependency>
62 63 64 65 66 67 68 69 70 71 72 73
            <dependency>
                <groupId>com.netflix.archaius</groupId>
                <artifactId>archaius-core</artifactId>
                <version>0.7.6</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.google.guava</groupId>
                        <artifactId>guava</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

Q
qinyingjie 已提交
74 75 76 77 78 79 80
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
Q
qinyingjie 已提交
81
                <version>3.0.1</version>
Q
qinyingjie 已提交
82 83 84 85
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
Q
qinyingjie 已提交
86
                <version>3.10.1</version>
Q
qinyingjie 已提交
87 88 89 90 91 92 93 94
                <configuration>
                    <source>7</source>
                    <target>7</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

Q
qinyingjie 已提交
95 96 97
    <packaging>pom</packaging>

</project>