pom.xml 4.1 KB
Newer Older
武汉红喜's avatar
武汉红喜 已提交
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

武汉红喜's avatar
武汉红喜 已提交
6 7
    <modelVersion>4.0.0</modelVersion>

武汉红喜's avatar
武汉红喜 已提交
8
    <groupId>org.hongxi</groupId>
武汉红喜's avatar
武汉红喜 已提交
9
    <artifactId>whatsmars-spring-boot-samples</artifactId>
武汉红喜's avatar
武汉红喜 已提交
10
    <version>1.0-SNAPSHOT</version>
武汉红喜's avatar
武汉红喜 已提交
11 12 13
    <packaging>pom</packaging>
    <name>${project.artifactId}</name>
    <description>Spring Boot Samples</description>
武汉红喜's avatar
武汉红喜 已提交
14 15 16 17 18 19 20 21

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.0.6.RELEASE</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

武汉红喜's avatar
武汉红喜 已提交
22
    <modules>
武汉红喜's avatar
武汉红喜 已提交
23
        <module>whatsmars-boot-sample-aop</module>
武汉红喜's avatar
武汉红喜 已提交
24
        <module>whatsmars-boot-sample-session</module>
武汉红喜's avatar
武汉红喜 已提交
25
        <module>whatsmars-boot-sample-logback</module>
武汉红喜's avatar
武汉红喜 已提交
26
        <module>whatsmars-boot-sample-cache</module>
武汉红喜's avatar
mongodb  
武汉红喜 已提交
27
        <module>whatsmars-boot-sample-mongodb</module>
武汉红喜's avatar
武汉红喜 已提交
28
        <module>whatsmars-boot-sample-elasticsearch</module>
武汉红喜's avatar
redis  
武汉红喜 已提交
29
        <module>whatsmars-boot-sample-redis</module>
武汉红喜's avatar
武汉红喜 已提交
30
        <module>whatsmars-boot-sample-mybatis</module>
武汉红喜's avatar
武汉红喜 已提交
31
        <module>whatsmars-boot-sample-kafka</module>
武汉红喜's avatar
武汉红喜 已提交
32 33
    </modules>

武汉红喜's avatar
pom  
武汉红喜 已提交
34 35 36 37
    <properties>
        <guava.version>20.0</guava.version>
        <commons-pool2.version>2.6.0</commons-pool2.version>
        <fastjson.version>1.2.44</fastjson.version>
武汉红喜's avatar
武汉红喜 已提交
38
        <mybatis-spring.version>1.3.1</mybatis-spring.version>
武汉红喜's avatar
pom  
武汉红喜 已提交
39 40 41 42
    </properties>

    <dependencyManagement>
        <dependencies>
武汉红喜's avatar
武汉红喜 已提交
43 44 45 46 47
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>
武汉红喜's avatar
pom  
武汉红喜 已提交
48 49 50 51 52 53 54 55 56 57
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-pool2</artifactId>
                <version>${commons-pool2.version}</version>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <version>${fastjson.version}</version>
            </dependency>
武汉红喜's avatar
武汉红喜 已提交
58 59 60 61 62
            <dependency>
                <groupId>org.mybatis.spring.boot</groupId>
                <artifactId>mybatis-spring-boot-starter</artifactId>
                <version>${mybatis-spring.version}</version>
            </dependency>
武汉红喜's avatar
pom  
武汉红喜 已提交
63 64 65
        </dependencies>
    </dependencyManagement>

武汉红喜's avatar
武汉红喜 已提交
66 67 68 69 70 71 72
    <dependencies>
        <!-- Test -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
武汉红喜's avatar
武汉红喜 已提交
73 74 75 76 77 78 79

        <!--Compile-->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>compile</scope>
        </dependency>
武汉红喜's avatar
武汉红喜 已提交
80 81
    </dependencies>

武汉红喜's avatar
武汉红喜 已提交
82
    <build>
武汉红喜's avatar
武汉红喜 已提交
83 84 85 86 87 88 89
        <finalName>${project.artifactId}</finalName>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
武汉红喜's avatar
武汉红喜 已提交
90 91 92 93 94 95 96
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
武汉红喜's avatar
武汉红喜 已提交
97

武汉红喜's avatar
武汉红喜 已提交
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
    <!--<repositories>-->
        <!--<repository>-->
            <!--<id>spring-snapshots</id>-->
            <!--<name>Spring Snapshots</name>-->
            <!--<url>https://repo.spring.io/snapshot</url>-->
            <!--<snapshots>-->
                <!--<enabled>true</enabled>-->
            <!--</snapshots>-->
        <!--</repository>-->
        <!--<repository>-->
            <!--<id>spring-milestones</id>-->
            <!--<name>Spring Milestones</name>-->
            <!--<url>https://repo.spring.io/milestone</url>-->
            <!--<snapshots>-->
                <!--<enabled>false</enabled>-->
            <!--</snapshots>-->
        <!--</repository>-->
    <!--</repositories>-->
武汉红喜's avatar
武汉红喜 已提交
116

武汉红喜's avatar
武汉红喜 已提交
117 118

</project>