<?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>io.gitee.gaof1026</groupId>
        <artifactId>knight-cloud-dependencies</artifactId>
        <version>1.0.2-M2</version>
        <relativePath/>
    </parent>

    <artifactId>knight-file</artifactId>
    <version>1.0.2-M2</version>
    <packaging>jar</packaging>

    <groupId>io.gitee.gaof1026</groupId>
    <name>knight-file</name>
    <url>${projectUrl}</url>
    <description>knight-file</description>

    <scm>
        <connection>${projectUrl}</connection>
        <developerConnection>${projectUrl}</developerConnection>
        <url>${projectUrl}</url>
    </scm>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo,manual</distribution>
        </license>
    </licenses>
    <developers>
        <developer>
            <name>gaof</name>
            <email>414416521@qq.com</email>
            <url>https://gitee.com/gaof1026</url>
        </developer>
    </developers>

    <properties>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.gitee.gaof1026</groupId>
            <artifactId>knight-rds</artifactId>
        </dependency>
        <dependency>
            <groupId>io.gitee.gaof1026</groupId>
            <artifactId>knight-proto</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>io.gitee.gaof1026</groupId>
            <artifactId>knight-file-rds</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.gitee.gaof1026</groupId>
            <artifactId>knight-file-protobuf</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.tangzc</groupId>
            <artifactId>mybatis-plus-ext-spring-boot3-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>org.dromara.x-file-storage</groupId>
            <artifactId>x-file-storage-spring</artifactId>
        </dependency>
        <dependency>
            <groupId>org.hibernate.validator</groupId>
            <artifactId>hibernate-validator</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>io.minio</groupId>
            <artifactId>minio</artifactId>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <optional>true</optional>
        </dependency>
    </dependencies>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.xml</include>
                </includes>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.sonatype.central</groupId>
                <artifactId>central-publishing-maven-plugin</artifactId>
            </plugin>
<!--            <plugin>-->
<!--                <groupId>com.github.wvengen</groupId>-->
<!--                <artifactId>proguard-maven-plugin</artifactId>-->
<!--                <version>2.6.0</version>-->
<!--                <executions>-->
<!--                    &lt;!&ndash; 以下配置说明执行mvn的package命令时候，会执行proguard&ndash;&gt;-->
<!--                    <execution>-->
<!--                        <phase>package</phase>-->
<!--                        <goals>-->
<!--                            <goal>proguard</goal>-->
<!--                        </goals>-->
<!--                    </execution>-->
<!--                </executions>-->
<!--                <configuration>-->
<!--                    &lt;!&ndash; 防止本地编译的时候路径太长编译失败&ndash;&gt;-->
<!--                    <putLibraryJarsInTempDir>true</putLibraryJarsInTempDir>-->
<!--                    &lt;!&ndash; 就是输入Jar的名称，我们要知道，代码混淆其实是将一个原始的jar，生成一个混淆后的jar，那么就会有输入输出。 &ndash;&gt;-->
<!--                    <injar>${project.build.finalName}.jar</injar>-->
<!--                    &lt;!&ndash; 输出jar名称，输入输出jar同名的时候就是覆盖，也是比较常用的配置。 &ndash;&gt;-->
<!--                    <outjar>${project.build.finalName}.jar</outjar>-->
<!--                    &lt;!&ndash; 是否混淆 默认是true &ndash;&gt;-->
<!--                    <obfuscate>true</obfuscate>-->
<!--                    &lt;!&ndash; 配置一个文件，通常叫做proguard.cfg,该文件主要是配置options选项，也就是说使用proguard.cfg那么options下的所有内容都可以移到proguard.cfg中 &ndash;&gt;-->
<!--                    <proguardInclude>${project.basedir}/proguard.cfg</proguardInclude>-->
<!--                    &lt;!&ndash; 额外的jar包，通常是项目编译所需要的jar &ndash;&gt;-->
<!--                    <libs>-->
<!--                        &lt;!&ndash;                        <lib>${java.home}/lib/rt.jar</lib>&ndash;&gt;-->
<!--                        &lt;!&ndash;                        <lib>${java.home}/lib/jce.jar</lib>&ndash;&gt;-->
<!--                        &lt;!&ndash;                        <lib>${java.home}/lib/jsse.jar</lib>&ndash;&gt;-->
<!--                    </libs>-->
<!--                    &lt;!&ndash; 对输入jar进行过滤比如，如下配置就是对META-INFO文件不处理。 &ndash;&gt;-->
<!--                    <inLibsFilter>!META-INF/**</inLibsFilter>-->
<!--                    &lt;!&ndash; 这是输出路径配置，但是要注意这个路径必须要包括injar标签填写的jar &ndash;&gt;-->
<!--                    <outputDirectory>${project.basedir}/target</outputDirectory>-->
<!--                    &lt;!&ndash;这里特别重要，此处主要是配置混淆的一些细节选项，比如哪些类不需要混淆，哪些需要混淆&ndash;&gt;-->
<!--                    <options>-->
<!--                        &lt;!&ndash; 可以在这里写option标签配置，不过我上面使用了proguardInclude，所以可以在proguard.cfg中配置 &ndash;&gt;-->
<!--                    </options>-->
<!--                    &lt;!&ndash;                    子模块&ndash;&gt;-->
<!--                    &lt;!&ndash;                    <assembly>&ndash;&gt;-->
<!--                    &lt;!&ndash;                        <inclusions>&ndash;&gt;-->
<!--                    &lt;!&ndash;                            <inclusion>&ndash;&gt;-->
<!--                    &lt;!&ndash;                                <groupId>io.gitee.gaof1026</groupId>&ndash;&gt;-->
<!--                    &lt;!&ndash;                                <artifactId>knight-file-protobuf</artifactId>&ndash;&gt;-->
<!--                    &lt;!&ndash;                            </inclusion>&ndash;&gt;-->
<!--                    &lt;!&ndash;                            <inclusion>&ndash;&gt;-->
<!--                    &lt;!&ndash;                                <groupId>io.gitee.gaof1026</groupId>&ndash;&gt;-->
<!--                    &lt;!&ndash;                                <artifactId>knight-file-rds</artifactId>&ndash;&gt;-->
<!--                    &lt;!&ndash;                            </inclusion>&ndash;&gt;-->
<!--                    &lt;!&ndash;                        </inclusions>&ndash;&gt;-->
<!--                    &lt;!&ndash;                    </assembly>&ndash;&gt;-->
<!--                </configuration>-->
<!--                <dependencies>-->
<!--                    <dependency>-->
<!--                        <groupId>com.guardsquare</groupId>-->
<!--                        <artifactId>proguard-base</artifactId>-->
<!--                        <version>7.5.0</version>-->
<!--                        <scope>runtime</scope>-->
<!--                    </dependency>-->
<!--                    <dependency>-->
<!--                        <groupId>com.guardsquare</groupId>-->
<!--                        <artifactId>proguard-core</artifactId>-->
<!--                        <version>9.1.4</version>-->
<!--                        <scope>runtime</scope>-->
<!--                    </dependency>-->
<!--                </dependencies>-->
<!--            </plugin>-->
            <!--  proguard 代码混淆配置  结束-->
        </plugins>
    </build>
</project>
