<?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>io.github.burukeyou</groupId>
  <artifactId>fast-retry</artifactId>
  <version>0.3.2</version>
  <packaging>pom</packaging>
  <name>fast-retry</name>
  <description>A high-performance task retry framework, only a few threads are needed to support millions of task retries</description>
  <url>https://github.com/burukeYou/fast-retry</url>
  <licenses>
    <license>
      <name>The Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>caizhihao</name>
    </developer>
  </developers>
  <modules>
    <module>fast-retry-core</module>
    <module>fast-retry-spring</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/burukeYou/fast-retry.git</connection>
    <developerConnection>scm:git:ssh://github.com:burukeYou/fast-retry.git</developerConnection>
    <tag>0.3.2</tag>
    <url>http://github.com/burukeYou/fast-retry.git/tree/main</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>${sno.serviceId}</id>
      <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>${sno.serviceId}</id>
      <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.target>8</maven.compiler.target>
    <dp.name>fast-retry-0.3.2</dp.name>
    <maven.compiler.source>8</maven.compiler.source>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <fast-retry-spring-version>0.3.2</fast-retry-spring-version>
    <fast-retry-core-version>0.3.2</fast-retry-core-version>
    <sno.serviceId>central</sno.serviceId>
    <revision>0.3.2</revision>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.github.burukeyou</groupId>
        <artifactId>fast-retry-core</artifactId>
        <version>${fast-retry-core-version}</version>
      </dependency>
      <dependency>
        <groupId>io.github.burukeyou</groupId>
        <artifactId>fast-retry-spring</artifactId>
        <version>${fast-retry-spring-version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>3.0.0</version>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.sonatype.central</groupId>
        <artifactId>central-publishing-maven-plugin</artifactId>
        <version>0.3.0</version>
        <extensions>true</extensions>
        <configuration>
          <publishingServerId>${sno.serviceId}</publishingServerId>
          <tokenAuth>true</tokenAuth>
          <deploymentName>${dp.name}</deploymentName>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.7</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>${sno.serviceId}</serverId>
          <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>true</autoReleaseAfterClose>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.2.7</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.package</id>
            <phase>package</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
