<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>cn.handyplus.lib.attribute</groupId>
  <artifactId>AttributeParent</artifactId>
  <version>1.1.5</version>
  <packaging>pom</packaging>
  <name>AttributeParent</name>
  <description>多属性兼容框架</description>
  <url>https://github.com/handyplus/AttributeParent</url>
  <licenses>
    <license>
      <name>GNU LESSER GENERAL PUBLIC LICENSE v3.0</name>
      <url>https://github.com/handyplus/AttributeParent/blob/master/LICENSE</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>handy</name>
      <email>handyplus@163.com</email>
    </developer>
  </developers>
  <modules>
    <module>AttributePlus</module>
    <module>AttributePlusLow</module>
    <module>AttributeSystem</module>
    <module>SX-Attribute</module>
    <module>SX-AttributeLow</module>
    <module>AttributeLib</module>
    <module>MmoItems</module>
    <module>PotionEffect</module>
    <module>MythicLib</module>
  </modules>
  <scm>
    <connection>scm:git@github.com:handyplus/AttributeParent.git</connection>
    <developerConnection>scm:git@github.com:handyplus/AttributeParent.git</developerConnection>
    <url>git@github.com:handyplus/AttributeParent.git</url>
  </scm>
  <issueManagement>
    <system>Github Issue</system>
    <url>https://github.com/handyplus/AttributeParent/issues</url>
  </issueManagement>
  <distributionManagement>
    <repository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <lombok.version>1.18.32</lombok.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <spigot-api.vesion>1.21-R0.1-SNAPSHOT</spigot-api.vesion>
    <HandyLib.version>3.10.0</HandyLib.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <revision>1.1.5</revision>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.spigotmc</groupId>
      <artifactId>spigot-api</artifactId>
      <version>${spigot-api.vesion}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>cn.handyplus.lib</groupId>
      <artifactId>HandyLib</artifactId>
      <version>${HandyLib.version}</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>${lombok.version}</version>
      <optional>true</optional>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.3.0</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.5.0</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>3.1.0</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
            <configuration>
              <keyname>handy</keyname>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.13</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>true</autoReleaseAfterClose>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.11.0</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.6.0</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
