<?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.tiesheng.springboot-parent</groupId>
        <artifactId>springboot-parent</artifactId>
        <version>2.0.11</version>
    </parent>

    <groupId>com.tiesheng.zhxg</groupId>
    <artifactId>studentcloud-parent</artifactId>
    <version>1.1.26</version>
    <packaging>pom</packaging>
    <modules>
        <module>studentcloud-core</module>
        <module>studentcloud-starter</module>
    </modules>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    </properties>


    <repositories>
        <repository>
            <id>gitea</id>
            <url>https://git.tieshengkeji.com/api/packages/tieshengkeji/maven</url>
        </repository>
        <repository>
            <id>kepai-repo</id>
            <url>http://git.kepai365.com/tiesheng/repository/raw/master</url>
        </repository>
    </repositories>


    <distributionManagement>
        <repository>
            <id>gitea</id>
            <url>https://git.tieshengkeji.com/api/packages/tieshengkeji/maven</url>
        </repository>
    </distributionManagement>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.tiesheng.zhxg</groupId>
                <artifactId>studentcloud-core</artifactId>
                <version>1.1.26</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.tiesheng.springboot-plugin</groupId>
                    <artifactId>tiesheng-maven-plugin</artifactId>
                    <configuration>
                        <lastSqlDirs>${basedir}/src/main/resources/db/migration</lastSqlDirs>
                        <dataSourceYaml>${basedir}/src/main/resources/application-tmp.yml</dataSourceYaml>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                </plugin>
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>0.7.8</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>prepare-agent</goal>
                                <goal>report</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>8</source>
                        <target>8</target>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

</project>
