java-hkp-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.sourcelab</groupId>
<artifactId>java-hkp-client</artifactId>
<version>0.2.0</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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.sourcelab</groupId>
<artifactId>java-hkp-client</artifactId>
<version>0.2.0</version>
<!-- Require Maven 3.3.9 -->
<prerequisites>
<maven>3.3.9</maven>
</prerequisites>
<!-- Module Description and Ownership -->
<name>Http KeyServer Protocol Client for Java</name>
<description>A client for talking to PGP Key Servers using HKP (Http KeyServer Protocol). Defined by RFC https://tools.ietf.org/html/draft-shaw-openpgp-hkp-00 </description>
<url>https://github.com/SourceLabOrg/java-hkp-client</url>
<developers>
<developer>
<name>Stephen Powis</name>
<email>stephen.powis@gmail.com</email>
<organization>SourceLab.org</organization>
<organizationUrl>https://www.sourcelab.org/</organizationUrl>
</developer>
</developers>
<!-- MIT License -->
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<!-- Source Control -->
<scm>
<connection>scm:git:git://github.com/sourcelaborg/java-hkp-client.git</connection>
<developerConnection>scm:git:ssh://github.com:sourcelaborg/java-hkp-client.git</developerConnection>
<url>https://github.com/SourceLabOrg/java-hkp-client/tree/main</url>
</scm>
<!-- Module Properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<!-- Http Components version -->
<http-components.version>5.0.3</http-components.version>
<!-- Specify which Checkstyle ruleset to use -->
<checkstyle.ruleset>build/checkstyle.xml</checkstyle.ruleset>
<checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
<checkstyle.version>8.32</checkstyle.version>
<!-- Log4J Version -->
<log4j2.version>2.13.2</log4j2.version>
<slf4j.version>1.7.30</slf4j.version>
<!-- Junit -->
<junit.version>5.7.0</junit.version>
<!-- test toggling -->
<skipTests>false</skipTests>
<skipCodeCoverage>true</skipCodeCoverage>
<skipCheckStyle>false</skipCheckStyle>
<!-- By default exclude Integration/End-to-End tests -->
<excludeTests>IntegrationTest</excludeTests>
</properties>
<!-- Project Dependencies -->
<dependencies>
<!-- Http Client -->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${http-components.version}</version>
</dependency>
<!-- Logging Interface -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- Logging in tests -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j2.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Set Source & Target JRE Version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Generates test results -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<argLine>-Xmx256M</argLine>
<skipTests>${skipTests}</skipTests>
<runOrder>alphabetical</runOrder>
<!-- By default exclude Integration Tests -->
<excludedGroups>
${excludeTests}
</excludedGroups>
</configuration>
</plugin>
<!-- Enforce check styles validation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin.version}</version>
<executions>
<execution>
<id>checkstyle-validate</id>
<phase>validate</phase><!-- when we need to run checkstyle::check -->
<configuration>
<configLocation>${checkstyle.ruleset}</configLocation>
<encoding>utf-8</encoding>
<consoleOutput>true</consoleOutput>
<violationSeverity>warning</violationSeverity>
<failsOnError>true</failsOnError>
<enableRSS>false</enableRSS>
<!-- By default we run checkstyle validation-->
<skip>${skipCheckStyle}</skip>
</configuration>
<goals>
<!-- Generate site/html report -->
<goal>checkstyle</goal>
<!-- Enforce failing build on checkstyle failure -->
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- License Auditing -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>LICENSE.txt</header>
<excludes>
<exclude>**/*.md</exclude>
<exclude>**/*.bak</exclude>
<exclude>**/*.yml</exclude>
<exclude>**/*.yaml</exclude>
<exclude>**/*.xml</exclude>
<exclude>build/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>LICENSE.txt</exclude>
</excludes>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Release plugin -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Use a current version of checkstyle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- For deploying to maven central -->
<distributionManagement>
<!-- Snapshot repository -->
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- release profile for deploying -->
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Build Sources Jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Build Javadoc Jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<source>8</source>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG Signing of Artifacts -->
<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>
<configuration>
<keyname>SourceLab.org</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>