mirror of
https://github.com/valitydev/file-storage.git
synced 2024-11-06 00:35:22 +00:00
215 lines
8.1 KiB
XML
215 lines
8.1 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>file-storage</artifactId>
|
|
<version>0.9.2-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>file-storage</name>
|
|
<description>Service for uploading & downloading files</description>
|
|
|
|
<properties>
|
|
<sonar.jacoco.reportPath>target/sites/jacoco/jacoco.exec</sonar.jacoco.reportPath>
|
|
<sonar.cobertura.reportPath>target/site/cobertura/coverage.xml</sonar.cobertura.reportPath>
|
|
|
|
<project.maintainer>rbk.money</project.maintainer>
|
|
<server.port>8022</server.port>
|
|
<exposed.ports>${server.port}</exposed.ports>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
|
|
<metrics.version>1.1.0</metrics.version>
|
|
<dockerfile.base.service.tag>c0d0900ec19c907d866f8360031a836049985110</dockerfile.base.service.tag>
|
|
<dockerfile.registry>dr2.rbkmoney.com</dockerfile.registry>
|
|
<shared.resources.version>0.3.6</shared.resources.version>
|
|
<woody.thrift.version>1.1.15</woody.thrift.version>
|
|
<file.storage.proto.version>1.24-a77c0c4</file.storage.proto.version>
|
|
<geck.version>0.6.8</geck.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- rbkmoney -->
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>file-storage-proto</artifactId>
|
|
<version>${file.storage.proto.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.woody</groupId>
|
|
<artifactId>woody-thrift</artifactId>
|
|
<version>${woody.thrift.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.logback</groupId>
|
|
<artifactId>nop-rolling</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>${geck.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.geck</groupId>
|
|
<artifactId>serializer</artifactId>
|
|
<version>${geck.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>shared-resources</artifactId>
|
|
<version>${shared.resources.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>spring-boot-starter-metrics-statsd</artifactId>
|
|
<version>${metrics.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring libs -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</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>
|
|
|
|
<!-- 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>
|
|
<version>1.18.4</version>
|
|
<scope>provided</scope>
|
|
</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>
|
|
<!-- Provide JUnit 5 API -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- and the engine for surefire and failsafe -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers</artifactId>
|
|
<version>1.8.3</version>
|
|
<scope>compile</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.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.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>
|