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

    <artifactId>zw-starter-parent-base</artifactId>
    <packaging>pom</packaging>

    <url>https://www.izhaowo.com</url>

    <parent>
        <groupId>com.izhaowo.cloud</groupId>
        <artifactId>zw-starter-parent</artifactId>
        <version>1.1.0-SNAPSHOT</version>
    </parent>

    <!--配置发布私服-->
    <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>
    </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>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
