mirror of
https://github.com/valitydev/fraudbusters-management.git
synced 2024-11-06 16:35:20 +00:00
377 lines
14 KiB
XML
377 lines
14 KiB
XML
<?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>
|
|
|
|
<parent>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.1.1.RELEASE</version>
|
|
</parent>
|
|
|
|
<artifactId>fraudbusters-management</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Fraudbusters management</name>
|
|
<description></description>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>11</java.version>
|
|
<server.port>8022</server.port>
|
|
<exposed.ports>${server.port}</exposed.ports>
|
|
<dockerfile.base.service.tag>bc95d0d6dc13c693acd2b274531a7d604b877bf3</dockerfile.base.service.tag>
|
|
<dockerfile.registry>dr2.rbkmoney.com</dockerfile.registry>
|
|
<shared.resources.version>0.3.6</shared.resources.version>
|
|
<flyway.version>5.2.3</flyway.version>
|
|
<db.name>wblist</db.name>
|
|
<db.port>5432</db.port>
|
|
<db.url>jdbc:postgresql://localhost:${db.port}/${db.name}</db.url>
|
|
<db.user>postgres</db.user>
|
|
<db.password>postgres</db.password>
|
|
<db.schema>af</db.schema>
|
|
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
|
|
<wb.list.proto.version>1.20-2c2fb6a</wb.list.proto.version>
|
|
<kafka.streams.version>2.1.0</kafka.streams.version>
|
|
<kafka.clients.version>2.1.0</kafka.clients.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!--rbkmoney-->
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>spring-boot-starter-metrics-statsd</artifactId>
|
|
<version>1.1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.woody</groupId>
|
|
<artifactId>woody-thrift</artifactId>
|
|
<version>1.1.15</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>shared-resources</artifactId>
|
|
<version>${shared.resources.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
<artifactId>filter</artifactId>
|
|
<version>0.6.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
<artifactId>serializer</artifactId>
|
|
<version>0.6.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>wb-list-proto</artifactId>
|
|
<version>${wb.list.proto.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>kafka-common-lib</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<!--spring-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<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-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
|
|
<!--third party-->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>4.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>${hikaricp.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
<version>${jooq.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
<version>1.3.0.Final</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct</artifactId>
|
|
<version>1.3.0.Final</version>
|
|
</dependency>
|
|
|
|
<!--kafka-->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-streams</artifactId>
|
|
<version>${kafka.streams.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
<version>${kafka.clients.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.kafka</groupId>
|
|
<artifactId>spring-kafka</artifactId>
|
|
<version>2.2.2.RELEASE</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-streams</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>kafka</artifactId>
|
|
<version>1.10.2</version>
|
|
<scope>test</scope>
|
|
</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>
|
|
<version>1.8.0</version>
|
|
<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>org.testcontainers</groupId>
|
|
<artifactId>kafka</artifactId>
|
|
<version>1.10.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-streams-test-utils</artifactId>
|
|
<version>2.1.0</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.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>
|
|
<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>
|
|
<locations>
|
|
<location>filesystem:${project.basedir}/src/main/resources/db/migration</location>
|
|
</locations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>migrate</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>migrate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
<name>org.jooq.meta.postgres.PostgresDatabase</name>
|
|
<includes>.*</includes>
|
|
<excludes>schema_version|flyway_schema_history</excludes>
|
|
<inputSchema>${db.schema}</inputSchema>
|
|
</database>
|
|
<target>
|
|
<packageName>com.rbkmoney.fraudbusters.management.domain</packageName>
|
|
<directory>target/generated-sources/jooq</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>gen-src</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.rbkmoney.maven.plugins</groupId>
|
|
<artifactId>pg-embedded-plugin</artifactId>
|
|
<version>1.4</version>
|
|
<configuration>
|
|
<port>${db.port}</port>
|
|
<dbName>${db.name}</dbName>
|
|
<schemas>
|
|
<schema>${db.schema}</schema>
|
|
</schemas>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>PG_server_start</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>start</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>PG_server_stop</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>stop</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.2</version>
|
|
<configuration>
|
|
<destFile>${sonar.jacoco.reportPath}</destFile>
|
|
<append>true</append>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|