mirror of
https://github.com/valitydev/file-storage.git
synced 2024-11-06 00:35:22 +00:00
171 lines
6.2 KiB
XML
171 lines
6.2 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>dev.vality</groupId>
|
|
<artifactId>service-parent-pom</artifactId>
|
|
<version>2.1.5</version>
|
|
</parent>
|
|
|
|
<artifactId>file-storage</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>file-storage</name>
|
|
<description>Service for uploading and 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>
|
|
<!-- dev.vality -->
|
|
<dependency>
|
|
<groupId>dev.vality</groupId>
|
|
<artifactId>file-storage-proto</artifactId>
|
|
<version>1.49-f01d2d9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.vality</groupId>
|
|
<artifactId>msgpack-proto</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.vality.geck</groupId>
|
|
<artifactId>common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.vality.geck</groupId>
|
|
<artifactId>serializer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.vality.geck</groupId>
|
|
<artifactId>filter</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.12.451</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>s3</artifactId>
|
|
<version>2.20.48</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test libs -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.vality</groupId>
|
|
<artifactId>testcontainers-annotations</artifactId>
|
|
<version>2.0.2</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>3.0.0</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
<artifactId>maven-filtering</artifactId>
|
|
<version>3.3.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<resourceBundles>
|
|
<resourceBundle>dev.vality: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>
|