2018-08-20 15:49:04 +00:00
|
|
|
<?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>
|
|
|
|
|
|
|
|
<artifactId>newway</artifactId>
|
2018-09-11 08:30:50 +00:00
|
|
|
<version>1.0.8-SNAPSHOT</version>
|
2018-08-20 15:49:04 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>newway</name>
|
|
|
|
<description>SQL-views of business objects</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>1.5.10.RELEASE</version>
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.maintainer>Inal Arsanukaev <i.arsanukaev@rbkmoney.com></project.maintainer>
|
|
|
|
<shared.resources.version>0.2.1</shared.resources.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<postgresql.jdbc.version>9.4.1212</postgresql.jdbc.version>
|
|
|
|
<dockerfile.base.service.tag>22c57470c4fc47161894f036b7cf9d70f42b75f5</dockerfile.base.service.tag>
|
|
|
|
<server.port>8022</server.port>
|
|
|
|
<db.url>jdbc:postgresql://localhost:5432/newway</db.url>
|
|
|
|
<db.user>postgres</db.user>
|
|
|
|
<db.password>postgres</db.password>
|
|
|
|
<db.schema>nw</db.schema>
|
|
|
|
<flyway.version>4.2.0</flyway.version>
|
2018-09-11 08:30:50 +00:00
|
|
|
<damsel.version>1.249-4529702</damsel.version>
|
2018-09-11 12:08:50 +00:00
|
|
|
<jooq.version>3.11.4</jooq.version>
|
2018-08-20 15:49:04 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!--Thrirdparty libs-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgresql.jdbc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
<version>${hikaricp.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
<version>${flyway.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq</artifactId>
|
|
|
|
<version>${jooq.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.codecentric</groupId>
|
|
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
|
<version>1.4.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.logback</groupId>
|
|
|
|
<artifactId>nop-rolling</artifactId>
|
|
|
|
<version>1.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
<version>4.6</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--RBK libs-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>dbinit</artifactId>
|
|
|
|
<version>1.0.9</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>eventstock-client</artifactId>
|
|
|
|
<version>1.1.9</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>damsel</artifactId>
|
|
|
|
<version>${damsel.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>shared-resources</artifactId>
|
|
|
|
<version>${shared.resources.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
|
|
<artifactId>serializer</artifactId>
|
|
|
|
<version>0.6.4</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
2018-08-31 08:59:00 +00:00
|
|
|
<version>1.8.3</version>
|
2018-08-20 15:49:04 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.benas</groupId>
|
|
|
|
<artifactId>random-beans</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.hg-mock</groupId>
|
|
|
|
<artifactId>generator</artifactId>
|
|
|
|
<version>0.9.7</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.build.directory}/maven-shared-archive-resources</directory>
|
|
|
|
<targetPath>${project.build.directory}</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>Dockerfile</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.build.directory}/maven-shared-archive-resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>Dockerfile</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
|
|
<version>${flyway.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<url>${db.url}</url>
|
|
|
|
<user>${db.user}</user>
|
|
|
|
<password>${db.password}</password>
|
|
|
|
<schemas>
|
|
|
|
<schema>${db.schema}</schema>
|
|
|
|
</schemas>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgresql.jdbc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
<version>${jooq.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<jdbc>
|
|
|
|
<driver>org.postgresql.Driver</driver>
|
|
|
|
<url>${db.url}</url>
|
|
|
|
<user>${db.user}</user>
|
|
|
|
<password>${db.password}</password>
|
|
|
|
</jdbc>
|
|
|
|
<generator>
|
|
|
|
<generate>
|
|
|
|
<javaTimeTypes>true</javaTimeTypes>
|
|
|
|
<pojos>true</pojos>
|
|
|
|
<pojosEqualsAndHashCode>true</pojosEqualsAndHashCode>
|
|
|
|
<pojosToString>true</pojosToString>
|
|
|
|
</generate>
|
|
|
|
<database>
|
2018-09-11 12:08:50 +00:00
|
|
|
<name>org.jooq.meta.postgres.PostgresDatabase</name>
|
2018-08-20 15:49:04 +00:00
|
|
|
<includes>.*</includes>
|
2018-09-04 14:12:37 +00:00
|
|
|
<excludes>schema_version|.*func|get_adjustment.*|get_cashflow.*|get_payment.*|get_payout.*|get_refund.*</excludes>
|
2018-08-20 15:49:04 +00:00
|
|
|
<inputSchema>${db.schema}</inputSchema>
|
|
|
|
</database>
|
|
|
|
<target>
|
|
|
|
<packageName>com.rbkmoney.newway.domain</packageName>
|
|
|
|
<directory>src/main/java/</directory>
|
|
|
|
</target>
|
|
|
|
</generator>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-filtering</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
|
|
|
<resourceBundle>com.rbkmoney:shared-resources:${shared.resources.version}</resourceBundle>
|
|
|
|
</resourceBundles>
|
|
|
|
<attachToMain>false</attachToMain>
|
|
|
|
<attachToTest>false</attachToTest>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|