Created
December 15, 2016 20:39
-
-
Save donovanmuller/84cc3544b9a9353eea69fcb39db42486 to your computer and use it in GitHub Desktop.
nomad-api to Java 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: java | |
jdk: | |
- oraclejdk8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>io.github.zanella.nomad</groupId> | |
<artifactId>nomad-api</artifactId> | |
<packaging>jar</packaging> | |
<version>0.4-SNAPSHOT</version> | |
<name>${project.artifactId}</name> | |
<description>Java client for Nomad's HTTP API</description> | |
<url>https://github.com/zanella/nomad-api</url> | |
<licenses> | |
<license> | |
<name>MIT License</name> | |
<url>http://www.opensource.org/licenses/mit-license.php</url> | |
</license> | |
</licenses> | |
<developers> | |
<developer> | |
<name>Rafael Zanella</name> | |
<email>[email protected]</email> | |
<!-- organization></organization> | |
<organizationUrl></organizationUrl --> | |
</developer> | |
</developers> | |
<scm> | |
<connection>scm:git:[email protected]:zanella/nomad-api.git</connection> | |
<developerConnection>scm:git:[email protected]:zanella/nomad-api.git</developerConnection> | |
<url>[email protected]:zanella/nomad-api.git</url> | |
</scm> | |
<properties> | |
<java.version>1.8</java.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.netflix.feign</groupId> | |
<artifactId>feign-core</artifactId> | |
<version>8.18.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.netflix.feign</groupId> | |
<artifactId>feign-jackson</artifactId> | |
<version>8.18.0</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-databind</artifactId> | |
<version>2.8.4</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-annotations</artifactId> | |
<version>2.8.4</version> | |
</dependency> | |
<!-- COMPILE-ONLY --> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<version>1.16.10</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.xebia</groupId> | |
<artifactId>jackson-lombok</artifactId> | |
<version>1.1</version> | |
</dependency> | |
<!-- TEST-ONLY --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.github.tomakehurst</groupId> | |
<artifactId>wiremock</artifactId> | |
<version>2.2.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
<version>1.7.14</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>ossrh</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</snapshotRepository> | |
<repository> | |
<id>ossrh</id> | |
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
</repository> | |
</distributionManagement> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.sonatype.plugins</groupId> | |
<artifactId>nexus-staging-maven-plugin</artifactId> | |
<version>1.6.3</version> | |
<extensions>true</extensions> | |
<configuration> | |
<serverId>ossrh</serverId> | |
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | |
<autoReleaseAfterClose>true</autoReleaseAfterClose> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<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> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.10.3</version> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.6.0</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>release-sign-artifacts</id> | |
<activation> | |
<property> | |
<name>performRelease</name> | |
<value>true</value> | |
</property> | |
</activation> | |
<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> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment