<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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.crums</groupId>
  <artifactId>ledgers</artifactId>
  <version>0.5.0</version>
  <packaging>pom</packaging>
  <name>${project.groupId}::${project.artifactId}</name>
  <description>Collection of modules and tools for maintaining tamper proof, evolving, historical private ledgers
    and for differentially revealing (reporting) any of their parts in an efficient, provable way.</description>
  <url>https://crums.io/project/ledgers</url>
  <licenses>
    <license>
      <name>GNU Affero General Public License, Version 3</name>
      <url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>Babak Farhang</name>
      <email>babak@crums.io</email>
      <organization>Crums</organization>
      <organizationUrl>https://crums.io</organizationUrl>
    </developer>
  </developers>
  <modules>
    <module>skipledger</module>
    <module>skipledger-sql</module>
    <module>reports</module>
    <module>sldg</module>
    <module>mrsl</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/crums-io/skipledger.git</connection>
    <developerConnection>scm:git:ssh://github.com:crums-io/skipledger.git</developerConnection>
    <url>http://github.com/crums-io/skipledger/tree/master</url>
  </scm>
  <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>
    <maven.compiler.release>17</maven.compiler.release>
    <flatten.version>1.2.2</flatten.version>
    <crums.core>[1.0.0,)</crums.core>
    <maven.compiler.plugin>3.8.1</maven.compiler.plugin>
    <crums.util>[1.0.2,)</crums.util>
    <revision>0.5.0</revision>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
      <groupId>io.crums</groupId>
      <artifactId>io-util</artifactId>
      <version>${crums.util}</version>
    </dependency>
    <dependency>
      <groupId>io.crums</groupId>
      <artifactId>crums-core</artifactId>
      <version>${crums.core}</version>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.gnahraf</groupId>
      <artifactId>junit-io</artifactId>
      <version>0.0.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven.compiler.plugin}</version>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>${flatten.version}</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>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.4.1</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <bottom>&lt;table width="100%">
            &lt;tr>
            &lt;td style="text-align: left;">&amp;nbsp;io.crums::project.artifactId v0.5.0
             &lt;br/>
            &amp;nbsp;Licensed under the GNU Affero General Public License v3
            (&lt;a href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL&lt;/a>)
            &lt;/td>
            &lt;td style="text-align: right;">&lt;br/>&amp;copy; 2020-2022 &lt;a href="http://crums.io">crums.io&lt;/a> All Rights Reserved.&amp;nbsp;&amp;nbsp;&lt;/td>
            &lt;/tr>
            &lt;/table></bottom>
        </configuration>
      </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-gpg-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
