<?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>top.snowed</groupId>
    <artifactId>aspose-excel</artifactId>
    <version>2.0.0</version>
    <packaging>jar</packaging>
    <name>aspose-excel</name>

    <url>https://github.com/854702200/issue</url>

    <licenses>
        <license>
            <name>GNU General Public License, version 3.0 (GPL-3.0)</name>
            <url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:git://github.com/854702200/issue.git</connection>
        <developerConnection>scm:git:git@github.com:854702200/issue.git</developerConnection>
        <url>https://github.com/854702200/issue</url>
        <tag>HEAD</tag>
    </scm>

    <developers>
        <developer>
            <id>snowed</id>
            <name>Mr Zou</name>
            <roles>
                <role>Project Manager</role>
                <role>Developer</role>
            </roles>
            <email>854702200@qq.com</email>
            <url>https://www.snowed.top</url>
        </developer>
    </developers>

    <issueManagement>
        <system>GitHub</system>
        <url>https://github.com/854702200/issue/issues</url>
    </issueManagement>

    <description>word转pdf</description>

    <inceptionYear>2024</inceptionYear>

    <dependencies>

    </dependencies>

    <profiles>
        <profile>
            <id>path</id>
            <dependencies>
                <dependency>
                    <groupId>com.aspose</groupId>
                    <artifactId>aspose-cells</artifactId>
                    <version>22.12</version>
                    <scope>system</scope>
                    <systemPath>${project.basedir}/lib/aspose-cells-22.12.jar</systemPath>
                </dependency>
                <dependency>
                    <groupId>com.aspose</groupId>
                    <artifactId>aspose-slides</artifactId>
                    <version>22.12</version>
                    <scope>system</scope>
                    <systemPath>${project.basedir}/lib/aspose-slides-22.12.jar</systemPath>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>init</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <version>2.4.1</version>
                        <executions>
                            <execution>
                                <id>package</id>
                                <!-- bind to the packaging phase -->
                                <phase>compile</phase>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                                <configuration>
                                    <!-- 配置文件 -->
                                    <descriptors>
                                        <descriptor>./assembly.xml</descriptor>
                                    </descriptors>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <version>1.8</version>
                        <executions>
                            <execution>
                                <id>package</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>run</goal>
                                </goals>
                                <configuration>
                                    <target>
                                        <copy file="${project.build.directory}\${project.build.finalName}-dependencies.jar"
                                              tofile="${project.build.directory}\${project.build.finalName}.jar"
                                              overwrite="true"/>
                                    </target>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- Source-->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>3.1.0</version>
                        <inherited>true</inherited>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <excludeResources>true</excludeResources>
                            <useDefaultExcludes>true</useDefaultExcludes>
                        </configuration>
                    </plugin>
                    <!-- Javadoc -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>3.2.0</version>
                        <configuration>
                            <additionalJOptions>
                                <additionalJOption>-Xdoclint:none</additionalJOption>
                            </additionalJOptions>
                        </configuration>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>publish</id>
            <build>
                <plugins>
                    <!-- GPG -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.6</version>
                        <configuration>
                            <!-- 改成你自己的路径 -->
                            <executable>D:\GnuPG\bin\gpg.exe</executable>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.sonatype.central</groupId>
                        <artifactId>central-publishing-maven-plugin</artifactId>
                        <version>0.6.0</version>
                        <extensions>true</extensions>
                        <configuration>
                            <publishingServerId>snowed</publishingServerId>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>