2018-11-23 12:23:28 +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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
2021-07-31 19:51:38 +00:00
|
|
|
<artifactId>service-parent-pom</artifactId>
|
|
|
|
<version>1.2.13</version>
|
2018-11-23 12:23:28 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>file-storage</artifactId>
|
2021-07-31 19:51:38 +00:00
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2018-11-23 12:23:28 +00:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>file-storage</name>
|
|
|
|
<description>Service for uploading & downloading files</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<server.port>8022</server.port>
|
2021-03-05 13:00:22 +00:00
|
|
|
<management.port>8023</management.port>
|
|
|
|
<exposed.ports>${server.port} ${management.port}</exposed.ports>
|
2019-07-23 08:25:02 +00:00
|
|
|
<dockerfile.registry>${env.REGISTRY}</dockerfile.registry>
|
2021-07-31 19:51:38 +00:00
|
|
|
<checkstyle.config.suppressions.path>./src/main/resources/checkstyle/checkstyle-suppressions.xml
|
|
|
|
</checkstyle.config.suppressions.path>
|
2018-11-23 12:23:28 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2018-12-03 08:24:59 +00:00
|
|
|
<!-- rbkmoney -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>file-storage-proto</artifactId>
|
2021-07-31 19:51:38 +00:00
|
|
|
<version>1.31-d1055d3</version>
|
2018-12-03 08:24:59 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.woody</groupId>
|
|
|
|
<artifactId>woody-thrift</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
|
|
<artifactId>common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
|
|
<artifactId>serializer</artifactId>
|
|
|
|
</dependency>
|
2019-01-24 08:26:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>shared-resources</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
2021-03-05 13:00:22 +00:00
|
|
|
<artifactId>custom-metrics-spring-boot-starter</artifactId>
|
2019-01-24 08:26:11 +00:00
|
|
|
</dependency>
|
2019-12-06 15:12:07 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
|
|
|
<artifactId>custom-actuator-endpoints</artifactId>
|
|
|
|
</dependency>
|
2018-12-03 08:24:59 +00:00
|
|
|
|
2018-11-23 12:23:28 +00:00
|
|
|
<!-- Spring libs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2019-07-23 10:17:31 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-11-23 12:23:28 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-01-24 08:26:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
2021-03-05 13:00:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
2018-11-23 12:23:28 +00:00
|
|
|
|
|
|
|
<!-- Third party libs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
2019-07-22 14:46:58 +00:00
|
|
|
<version>1.11.587</version>
|
2018-11-23 12:23:28 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Test libs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2018-12-05 16:05:27 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2019-07-23 10:17:31 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.rbkmoney</groupId>
|
2021-07-31 19:51:38 +00:00
|
|
|
<artifactId>testcontainers-annotations</artifactId>
|
2021-08-04 11:13:04 +00:00
|
|
|
<version>1.3.0</version>
|
2019-07-23 10:17:31 +00:00
|
|
|
<scope>test</scope>
|
2018-12-03 08:24:59 +00:00
|
|
|
</dependency>
|
2018-11-23 12:23:28 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2018-12-04 13:40:15 +00:00
|
|
|
<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>
|
2018-11-23 12:23:28 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2018-12-04 13:40:15 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
2019-07-23 10:17:31 +00:00
|
|
|
<version>1.6.0</version>
|
2018-12-04 13:40:15 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-filtering</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
2021-07-31 19:51:38 +00:00
|
|
|
<resourceBundle>com.rbkmoney:shared-resources:${shared-resources.version}</resourceBundle>
|
2018-12-04 13:40:15 +00:00
|
|
|
</resourceBundles>
|
|
|
|
<attachToMain>false</attachToMain>
|
|
|
|
<attachToTest>false</attachToTest>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-11-23 12:23:28 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|