mirror of
https://github.com/valitydev/file-storage.git
synced 2024-11-06 08:45:16 +00:00
c863c6a346
add extracting filename logic, refactor add configs for deploy local minio cluster refactor, update tests update readme
182 lines
6.6 KiB
XML
182 lines
6.6 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>service-parent-pom</artifactId>
|
|
<version>1.2.13</version>
|
|
</parent>
|
|
|
|
<artifactId>file-storage</artifactId>
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>file-storage</name>
|
|
<description>Service for uploading & downloading files</description>
|
|
|
|
<properties>
|
|
<server.port>8022</server.port>
|
|
<management.port>8023</management.port>
|
|
<exposed.ports>${server.port} ${management.port}</exposed.ports>
|
|
<dockerfile.registry>${env.REGISTRY}</dockerfile.registry>
|
|
<checkstyle.config.suppressions.path>./src/main/resources/checkstyle/checkstyle-suppressions.xml
|
|
</checkstyle.config.suppressions.path>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- rbkmoney -->
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>file-storage-proto</artifactId>
|
|
<version>1.31-d1055d3</version>
|
|
</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>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>shared-resources</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>custom-metrics-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>custom-actuator-endpoints</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Spring 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-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Third party libs -->
|
|
<dependency>
|
|
<groupId>com.amazonaws</groupId>
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
<version>1.11.587</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3</artifactId>
|
|
<version>2.17.56</version>
|
|
</dependency>
|
|
|
|
<!-- Test libs -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>testcontainers-annotations</artifactId>
|
|
<version>1.3.1</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-dependency-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<version>1.6.0</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>
|