<?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>

    <groupId>com.izhaowo.cloud</groupId>
    <artifactId>zw-support</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <packaging>pom</packaging>

    <url>http://www.example.com</url>

    <modules>
        <module>zw-support-excel</module>
    </modules>

    <!--配置私服-->
    <distributionManagement>
        <repository>
            <id>releases</id>
            <url>http://pm.rd.izhaowo.com:20020/nexus/content/repositories/releases/</url>
            <layout>default</layout>
        </repository>

        <snapshotRepository>
            <id>snapshots</id>
            <url>http://pm.rd.izhaowo.com:20020/nexus/content/repositories/snapshots/</url>
            <layout>default</layout>
            <uniqueVersion>false</uniqueVersion>
        </snapshotRepository>

        <site>
            <id>website</id>
            <url>scp://webhost.company.com/www/website</url>
        </site>

    </distributionManagement>

    <pluginRepositories>
        <pluginRepository>
            <id>repository</id>
            <url>http://pm.rd.izhaowo.com:20020/nexus/content/groups/public/</url>
        </pluginRepository>
        <pluginRepository>
            <id>Codehaus repository</id>
            <url>https://repository-master.mulesoft.org/nexus/content/groups/public/</url>
        </pluginRepository>
    </pluginRepositories>

    <build>
        <finalName>${project.name}</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <!-- 没有该配置，devtools 不生效 -->
                <configuration>
                    <fork>true</fork>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>