<?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>cn.zidot</groupId>
        <artifactId>sprite-parent</artifactId>
        <version>1.0.0</version>
        <relativePath/>
    </parent>

    <groupId>cn.zidot</groupId>
    <artifactId>sprite-parent-framework</artifactId>
    <version>1.0.1</version>

    <name>sprite-parent-framework</name>
    <description>sprite parent framework</description>
    <url>https://gitee.com/jackl-osc/sprite-parent.git</url>

    <packaging>pom</packaging>

    <developers>
        <developer>
            <name>Lu Mengwei</name>
            <email>jackl_mail@sina.com</email>
        </developer>
    </developers>

    <scm>
        <tag>master</tag>
        <connection>https://gitee.com/jackl-osc/sprite-parent.git</connection>
        <developerConnection>https://gitee.com/jackl-osc</developerConnection>
        <url>https://gitee.com/jackl-osc/sprite-parent.git</url>
    </scm>

    <licenses>
        <license>
            <name>GNU Affero General Public License Version 3</name>
            <url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <distributionManagement>
        <snapshotRepository>
            <id>oss</id>
            <url>
                https://oss.sonatype.org/content/repositories/snapshots/
            </url>
        </snapshotRepository>
        <repository>
            <id>oss</id>
            <url>
                https://oss.sonatype.org/service/local/staging/deploy/maven2/
            </url>
        </repository>
    </distributionManagement>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>cn.zidot</groupId>
                <artifactId>sprite-framework-core</artifactId>
                <version>2.2.1</version>
            </dependency>
            <dependency>
                <groupId>cn.zidot</groupId>
                <artifactId>sprite-framework-start</artifactId>
                <version>2.0.0</version>
            </dependency>
            <dependency>
                <groupId>cn.zidot</groupId>
                <artifactId>sprite-framework-orm</artifactId>
                <version>1.1.5</version>
            </dependency>
            <dependency>
                <groupId>cn.zidot</groupId>
                <artifactId>sprite-utils</artifactId>
                <version>1.2.8</version>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <version>1.2.47</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- GPG -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>1.5</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>utf-8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <charset>UTF-8</charset>
                    <docencoding>UTF-8</docencoding>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>aggregate-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>