<?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>
    <parent>
        <groupId>com.icetech</groupId>
        <artifactId>ice-parent</artifactId>
        <version>1.0.10-SNAPSHOT</version>
    </parent>
    <artifactId>ice-components</artifactId>
    <version>1.0.10-SNAPSHOT</version>
    <packaging>pom</packaging>
    <name>ice-components</name>
    <description>公共组件</description>
    <modules>
        <module>ice-common-spring-boot-starter</module>
        <module>ice-redis-spring-boot-starter</module>
        <module>ice-rabbitmq-spring-boot-starter</module>
        <module>ice-log-spring-boot-starter</module>
        <module>ice-db-spring-boot-starter</module>
        <module>ice-rpc-spring-boot-starter</module>
        <module>ice-web-spring-boot-starter</module>
        <module>ice-oss-spring-boot-starter</module>
        <module>ice-xxljob-spring-boot-starter</module>
        <module>ice-mqtt-spring-boot-starter</module>
        <module>ice-rocketmq-spring-boot-starter</module>
    </modules>

    <properties>
        <components.version>${project.version}</components.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <!--deploy 配置-->
    <distributionManagement>
        <repository>
            <id>nexus-releases</id>
            <name>Nexus Release Repository</name>
            <url>http://mvn.icecloud-car.com/nexus/content/repositories/releases/</url>
        </repository>

        <snapshotRepository>
            <id>nexus-snapshots</id>
            <name>Nexus snapshots Repository</name>
            <url>http://mvn.icecloud-car.com/nexus/content/repositories/snapshots/</url>
        </snapshotRepository>
    </distributionManagement>
    <!--私服仓库配置-->
    <repositories>
        <repository>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <id>public</id>
            <name>public</name>
            <url>http://mvn.icecloud-car.com/nexus/content/groups/public/</url>
        </repository>
    </repositories>
</project>
