pom.xml 2.2 KB
Newer Older
S
shenhongxi 已提交
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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
武汉红喜's avatar
武汉红喜 已提交
5
    <parent>
6 7
        <groupId>org.hongxi</groupId>
        <artifactId>whatsmars-parent</artifactId>
武汉红喜's avatar
武汉红喜 已提交
8
        <version>Rocket.S6</version>
武汉红喜's avatar
武汉红喜 已提交
9
    </parent>
武汉红喜's avatar
武汉红喜 已提交
10
    <modelVersion>4.0.0</modelVersion>
武汉红喜's avatar
武汉红喜 已提交
11

武汉红喜's avatar
武汉红喜 已提交
12 13 14 15 16 17
    <groupId>org.hongxi</groupId>
    <artifactId>whatsmars-spring-cloud</artifactId>
    <packaging>pom</packaging>
    <name>${project.artifactId}</name>
    <description>The demo module of spring cloud project</description>

S
shenhongxi 已提交
18
    <modules>
武汉红喜's avatar
rename  
武汉红喜 已提交
19
        <module>whatsmars-cloud-consumer</module>
武汉红喜's avatar
rename  
武汉红喜 已提交
20 21
        <module>whatsmars-cloud-eureka</module>
        <module>whatsmars-cloud-provider</module>
S
shenhongxi 已提交
22
    </modules>
武汉红喜's avatar
武汉红喜 已提交
23

S
shenhongxi 已提交
24
    <properties>
武汉红喜's avatar
武汉红喜 已提交
25
        <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
S
shenhongxi 已提交
26 27
    </properties>

武汉红喜's avatar
武汉红喜 已提交
28 29 30 31 32 33 34 35 36 37 38
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
S
shenhongxi 已提交
39

武汉红喜's avatar
武汉红喜 已提交
40
    <repositories>
武汉红喜's avatar
武汉红喜 已提交
41 42 43 44 45 46 47 48
        <repository>
            <id>spring-snapshots</id>
            <name>Spring Snapshots</name>
            <url>https://repo.spring.io/snapshot</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
武汉红喜's avatar
武汉红喜 已提交
49 50 51 52 53 54 55 56 57
        <repository>
            <id>spring-milestones</id>
            <name>Spring Milestones</name>
            <url>https://repo.spring.io/milestone</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
S
shenhongxi 已提交
58

武汉红喜's avatar
武汉红喜 已提交
59
    <build>
武汉红喜's avatar
武汉红喜 已提交
60
        <finalName>${project.artifactId}</finalName>
武汉红喜's avatar
武汉红喜 已提交
61 62 63 64 65 66 67 68
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

S
shenhongxi 已提交
69
</project>