* ResultCode class tests * More integration test * WireMock stubs( wrong repo, good repo and user, forbidden - when github blocks api) * add log to shouldReturnOKInfoAboutOwnerRepoTest * small fixes
101 lines
3.8 KiB
XML
101 lines
3.8 KiB
XML
<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>edu.allegro.exercisie</groupId>
|
|
<artifactId>github-repo-seeker</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>Github Repo Seeker</name>
|
|
<description>Application give information about github repo of given user by rest API</description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<ratpack.version>1.5.4</ratpack.version>
|
|
<slf4j-api.version>1.7.25</slf4j-api.version>
|
|
<junit.version>4.12</junit.version>
|
|
<wiremock.version>2.15.0</wiremock.version>
|
|
<jackson-annotations.version>2.9.4</jackson-annotations.version>
|
|
<jmh-core.version>1.20</jmh-core.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.ratpack</groupId>
|
|
<artifactId>ratpack-core</artifactId>
|
|
<version>${ratpack.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ratpack</groupId>
|
|
<artifactId>ratpack-test</artifactId>
|
|
<version>${ratpack.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>2.10.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson-annotations.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.9.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.tomakehurst</groupId>
|
|
<artifactId>wiremock</artifactId>
|
|
<version>${wiremock.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>edu.allegro.exercise.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
|
<phase>install</phase> <!-- bind to the install phase -->
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|