<?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">
    <parent>
        <artifactId>dyc-uoc-pro</artifactId>
        <groupId>com.tydic.dyc</groupId>
        <version>3.0.0-CLOUD-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>order-center-api</artifactId>

    <dependencies>

        <dependency>
            <groupId>com.tydic.dyc</groupId>
            <artifactId>dyc-base</artifactId>
        </dependency>

        <dependency>
            <groupId>com.tydic.utils</groupId>
            <artifactId>utils-code-doc-api</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>com.ohaotian.plugin</groupId>
            <artifactId>plugin-common</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>com.google.code.google-collections</groupId>
                    <artifactId>google-collect</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!--引用不同rpc框架对应的依赖，根据maven不同profile，
        从父pom继承不同的dyc-rpc对应依赖，从而通过profile控制该打成什么架构的包
        极大的降低各中心各自维护出错的可能性-->
        <dependency>
            <groupId>com.tydic.dyc</groupId>
            <artifactId>dyc-rpc</artifactId>
        </dependency>

    </dependencies>


    <build>
        <plugins>
            <!-- 要将源码放上去，需要加入这个插件 -->
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.0.1</version>
                <configuration>
                    <attach>true</attach>
                </configuration>
                <executions>
                    <execution>
                        <phase>compile</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>