pom.xml 3.54 KB
<?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">
    <modelVersion>4.0.0</modelVersion>
    <packaging>pom</packaging>
    <modules>
        <module>starter</module>
        <module>handler</module>
        <module>dal</module>
        <module>service</module>
        <module>common</module>
    </modules>
    <groupId>com.yoho.datasync.consumer</groupId>
    <artifactId>yoho-datasync-consumer</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>yoho-datasync-consumer</name>

    <properties>
        <java.version>1.8</java.version>
        <project-version>1.0.0-SNAPSHOT</project-version>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <datasync.core.version>1.0.0-SNAPSHOT</datasync.core.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.30</version>
        </dependency>

        <dependency>
            <groupId>com.yoho.datasync.core</groupId>
            <artifactId>yoho-datasync-core-base</artifactId>
            <version>${datasync.core.version}</version>
        </dependency>
    </dependencies>


    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.yoho.datasync.consumer</groupId>
                <artifactId>yoho-datasync-consumer-handler</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.yoho.datasync.consumer</groupId>
                <artifactId>yoho-datasync-consumer-dal</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.yoho.datasync.consumer</groupId>
                <artifactId>yoho-datasync-consumer-starter</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.yoho.datasync.consumer</groupId>
                <artifactId>yoho-datasync-consumer-service</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>com.yoho.datasync.consumer</groupId>
                <artifactId>yoho-datasync-consumer-common</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-dependencies</artifactId>
                <version>2.1.3.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>


    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

</project>