connector-crypto-cli
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.interledger.connector</groupId> <artifactId>connector-crypto-cli</artifactId> <version>0.5.1</version> </dependency>
<?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"> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.2.RELEASE</version> <relativePath></relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.interledger.connector</groupId> <artifactId>connector-crypto-cli</artifactId> <version>0.5.1</version> <name>Connector :: Crypto :: CLI</name> <description>A CLI for crypto using using various keystore backends.</description> <properties> <!-- Build Properties --> <jdk>1.8</jdk> <maven.compiler.source>${jdk}</maven.compiler.source> <maven.compiler.target>${jdk}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <argLine>-Xmx1024m</argLine> <spring-shell.version>2.0.1.RELEASE</spring-shell.version> <start-class>org.interledger.connector.crypto.cli.CryptoCli</start-class> <!-- org.jacoco:jacoco-maven-plugin --> <jacoco.propertyName>argLine</jacoco.propertyName> <!-- org.apache.maven.plugins:maven-checkstyle-plugin --> <checkstyle.config.location>checkstyle.xml</checkstyle.config.location> <checkstyle.violationSeverity>error</checkstyle.violationSeverity> <container.image>interledger4j/crypto-cli</container.image> <container.version>${project.version}</container.version> <jibGoal>dockerBuild</jibGoal> </properties> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> <configuration> <!-- do not enable it, this will create a non standard jar and cause autoconfig to fail --> <executable>false</executable> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>analyze</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <failOnWarning>true</failOnWarning> <!-- ignore jsr305 for both "used but undeclared" and "declared but unused" --> <ignoredDependencies> <ignoredDependency>org.springframework.shell:spring-shell-starter</ignoredDependency> </ignoredDependencies> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>${start-class}</mainClass> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> <!-- org.apache.maven.plugins:maven-source-plugin --> <plugin> <artifactId>maven-source-plugin</artifactId> </plugin> <!-- org.apache.maven.plugins:maven-javadoc-plugin --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <!-- org.sonatype.plugins:nexus-staging-maven-plugin --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <compilerVersion>${jdk}</compilerVersion> <source>${jdk}</source> <target>${jdk}</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <properties> <property> <name>junit</name> <value>false</value> </property> </properties> <systemProperties> <!-- prevent ForkedBooter process from stealing window focus on Mac OS --> <java.awt.headless>true</java.awt.headless> <user.timezone>UTC</user.timezone> </systemProperties> <environmentVariables> <RUNTIME_MODE>TEST</RUNTIME_MODE> </environmentVariables> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>3.0.0-M4</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh-snapshots-interledger</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!-- org.jacoco:jacoc-maven-plugin --> <plugin> <groupId>org.jacoco</groupId> <version>0.8.4</version> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase> <goals> <goal>prepare-agent</goal> </goals> <configuration> <destFile>${project.build.directory}/jacoco-it.exec</destFile> <propertyName>failsafe.argLine</propertyName> </configuration> </execution> <execution> <id>integration test report</id> <phase>post-integration-test</phase> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${project.build.directory}/jacoco-it.exec</dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> </configuration> </execution> </executions> </plugin> <!-- org.apache.maven.plugins:maven-source-plugin --> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- org.apache.maven.plugins:maven-javadoc-plugin --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.1</version> <configuration> <excludes> <exclude>**/generated-sources/**/*</exclude> </excludes> <source>8</source> <doclint>none</doclint> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> <profiles> <!-- Signing profile for signed distributions --> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>dockerhub</id> <properties> <!-- override jib plugin goal to "build" which builds image and pushes to dockerhub --> <jibGoal>build</jibGoal> </properties> </profile> <profile> <id>docker</id> <build> <plugins> <plugin> <groupId>com.google.cloud.tools</groupId> <artifactId>jib-maven-plugin</artifactId> <version>1.8.0</version> <executions> <execution> <id>docker</id> <phase>package</phase> <goals> <goal>${jibGoal}</goal> </goals> <configuration> <from> <image>adoptopenjdk/openjdk11:alpine-jre</image> </from> <to> <image>${container.image}:${container.version}</image> </to> <container> <useCurrentTimestamp>true</useCurrentTimestamp> <environment> <GOOGLE_APPLICATION_CREDENTIALS>/app/gcp-credentials.json</GOOGLE_APPLICATION_CREDENTIALS> </environment> </container> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>connector-crypto</artifactId> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-core</artifactId> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-standard</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-starter</artifactId> </dependency> <dependency> <groupId>com.google.api</groupId> <artifactId>gax</artifactId> </dependency> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-kms</artifactId> <!-- Excluded so that only Jakarta annotations are used. See https://dzone.com/articles/jakarta-ee-without-javax-the-world-wont-end-this-time-either for more details --> <exclusions> <exclusion> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-core</artifactId> </dependency> <dependency> <groupId>com.google.auth</groupId> <artifactId>google-auth-library-oauth2-http</artifactId> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>connector-crypto</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-gcp-dependencies</artifactId> <type>pom</type> <!-- this should match version of spring-cloud-gcp-dependencies that gets inherited in connector-parent --> <!-- this command, run from the connector-parent directory, will show you what it is inheriting: --> <!-- mvn help:effective-pom -Dverbose | grep spring-cloud-gcp-dependencies | head -1 --> <version>1.2.1.RELEASE</version> <scope>import</scope> </dependency> <dependency> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>28.2-jre</version> </dependency> <dependency> <groupId>org.jline</groupId> <artifactId>jline</artifactId> <version>3.4.0</version> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-core</artifactId> <version>${spring-shell.version}</version> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-standard</artifactId> <version>${spring-shell.version}</version> </dependency> <dependency> <groupId>org.springframework.shell</groupId> <artifactId>spring-shell-starter</artifactId> <version>${spring-shell.version}</version> </dependency> <dependency> <groupId>org.immutables</groupId> <artifactId>value</artifactId> <version>2.7.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.2.4</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <reporting> <plugins> <!-- org.jacoco:jacoc-maven-plugin --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <inherited>false</inherited> <reportSets> <reportSet> <reports> <report>report</report> </reports> </reportSet> </reportSets> </plugin> <!-- org.apache.maven.plugins:maven-checkstyle-plugin --> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <encoding>UTF-8</encoding> <consoleOutput>true</consoleOutput> <linkXRef>false</linkXRef> <excludes>**/generated-sources/**/*,**/generated-test-sources/**/*</excludes> </configuration> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> <!-- org.apache.maven.plugins:maven-javadoc-plugin --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <excludes> <exclude>**/generated-sources/**/*,**/generated-test-sources/**/*</exclude> </excludes> </configuration> </plugin> </plugins> </reporting> <distributionManagement> <snapshotRepository> <id>ossrh-snapshots-interledger</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh-snapshots-interledger</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> </project>