pom.xml 3.0 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 18
        <java.version>1.8</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <spring-boot.version>2.3.0.RELEASE</spring-boot.version>
Q
qinyingjie 已提交
19
        <spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
Q
qinyingjie 已提交
20 21
    </properties>

Q
qinyingjie 已提交
22 23 24 25 26 27
    <modules>
        <module>nacos-server-common</module>
        <module>nacos-server-producer</module>
        <module>nacos-server-consumer</module>
        <module>nacos-server-sentinel-consumer</module>
    </modules>
Q
qinyingjie 已提交
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

    <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>
            <!--            <dependency>-->
            <!--                <groupId>org.springframework.cloud</groupId>-->
            <!--                <artifactId>spring-cloud-dependencies</artifactId>-->
            <!--                <version>${spring-cloud.version}</version>-->
            <!--                <type>pom</type>-->
            <!--                <scope>import</scope>-->
            <!--            </dependency>-->
            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>${spring-boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
Q
qinyingjie 已提交
59
                <version>3.0.1</version>
Q
qinyingjie 已提交
60 61 62 63
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
Q
qinyingjie 已提交
64
                <version>3.10.1</version>
Q
qinyingjie 已提交
65 66 67 68 69 70 71 72
                <configuration>
                    <source>7</source>
                    <target>7</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

Q
qinyingjie 已提交
73 74 75
    <packaging>pom</packaging>

</project>