crum-cli
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.crums</groupId>
<artifactId>crum-cli</artifactId>
<version>0.1.0</version>
</dependency><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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.crums</groupId>
<artifactId>crum-cli</artifactId>
<!-- keep in sync w/ {revision} property, or add "flatten" plugin -->
<version>0.1.0</version>
<properties>
<revision>0.1.0</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>22</maven.compiler.release>
<crums.stowkwik>[1.0.2,)</crums.stowkwik>
<main.class>io.crums.tc.cli.crum.Main</main.class>
</properties>
<name>${project.groupId}::${project.artifactId}</name>
<url>https://crums.io/project/timechain</url>
<description>
CLI for encoding witnessed SHA-256 hashes on one or more timechains and
local archival and retrieval of trail proofs.
</description>
<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>
<profiles>
<profile>
<id>deploy-profile</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
</profile>
</profiles>
<scm>
<connection>scm:git:git://github.com/crums-io/timechain.git</connection>
<developerConnection>scm:git:ssh://github.com:crums-io/timechain.git</developerConnection>
<url>http://github.com/crums-io/timechain/tree/master</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- For SNAPSHOT releases of dependencies
<repositories>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
-->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>22</source>
<target>22</target>
<annotationProcessorPaths>
<path>
<groupId>info.picocli</groupId>
<artifactId>picocli-codegen</artifactId>
<version>4.6.3</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>-Aproject=io.crums/crum</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>${main.class}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<!--
Note the following is necessary only if _other_ javadoc errors are present,
i.e. unnecessary:
<sourceFileExcludes>module-info.java</sourceFileExcludes>
-->
<!--
Following are defaults:
<quiet>false</quiet> (not exactly "quiet" when set to true)
<failOnWarnings>false</failOnWarnings>
<failOnError>true</failOnError>
-->
<bottom>
<![CDATA[
<table width="100%">
<tr>
<td style="text-align: left;"> io.crums:]]>${project.artifactId} v${revision}
<![CDATA[ <br/>
GNU Affero General Public License v3
(<a href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL</a>)
</td>
<td style="text-align: right;"><br/>© 2020-2025 <a href="https://crums.io">crums.io</a> </td>
</tr>
</table>
]]>
</bottom>
</configuration>
<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.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>2.1.0</version>
<configuration>
<assembleDirectory>${project.build.directory}/binary</assembleDirectory>
<repositoryLayout>flat</repositoryLayout>
<binFolder>bin</binFolder>
<repositoryName>lib</repositoryName>
<programs>
<program>
<mainClass>${main.class}</mainClass>
<id>crum</id>
</program>
</programs>
</configuration>
<executions>
<execution>
<id>make-distribution</id>
<phase>package</phase>
<goals>
<goal>assemble</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
<mainClass>${main.class}</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-distribution</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.crums</groupId>
<artifactId>timechain</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>io.crums</groupId>
<artifactId>io-util</artifactId>
<version>[1.0.4,)</version>
</dependency>
<dependency>
<groupId>io.crums</groupId>
<artifactId>stowkwik</artifactId>
<version>${crums.stowkwik}</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.6.3</version>
</dependency>
</dependencies>
</project>