mirror of
https://github.com/valitydev/bouncer-spring-boot-starter.git
synced 2024-11-06 01:05:19 +00:00
919d731be5
* JD-524 bouncer starter initial implementation * JD-524 fix maven configuration * JD-524 downgrade ktlint version * JD-524 exclude ktlint as experiment * JD-524 add tests * JD-524 a little fix * JD-524 move to java 15 * JD-524 return ktlint
209 lines
7.7 KiB
XML
209 lines
7.7 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>library-parent-pom</artifactId>
|
|
<version>1.0.6</version>
|
|
</parent>
|
|
|
|
<artifactId>bouncer-spring-boot-starter</artifactId>
|
|
<version>1.0.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>bouncer-spring-boot-starter</name>
|
|
<description>Spring Boot starter for Bouncer integration</description>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/rbkmoney/bouncer-spring-boot-starter.git</connection>
|
|
<developerConnection>scm:git:ssh://github.com/rbkmoney/bouncer-spring-boot-starter.git</developerConnection>
|
|
<url>https://github.com/rbkmoney/bouncer-spring-boot-starter/tree/master</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<kotlin.version>1.5.20</kotlin.version>
|
|
<java.version>15</java.version>
|
|
<kotlin-logging.version>2.0.6</kotlin-logging.version>
|
|
|
|
<spring.version>2.5.0</spring.version>
|
|
|
|
<org-management-proto.version>1.2-06c5c84</org-management-proto.version>
|
|
<bouncer-proto.version>1.21-60cedce</bouncer-proto.version>
|
|
<woody.version>1.1.23</woody.version>
|
|
<mockito-kotlin.version>3.2.0</mockito-kotlin.version>
|
|
<random-beans.version>3.6.0</random-beans.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<type>pom</type>
|
|
<version>${spring.version}</version>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.30</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!--kotlin-->
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.microutils</groupId>
|
|
<artifactId>kotlin-logging-jvm</artifactId>
|
|
<version>${kotlin-logging.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate.validator</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>org-management-proto</artifactId>
|
|
<version>${org-management-proto.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>bouncer-proto</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney</groupId>
|
|
<artifactId>bouncer-proto</artifactId>
|
|
<version>${bouncer-proto.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.rbkmoney.woody</groupId>
|
|
<artifactId>woody-thrift</artifactId>
|
|
<version>${woody.version}</version>
|
|
</dependency>
|
|
|
|
<!--test-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito.kotlin</groupId>
|
|
<artifactId>mockito-kotlin</artifactId>
|
|
<version>${mockito-kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.benas</groupId>
|
|
<artifactId>random-beans</artifactId>
|
|
<version>${random-beans.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<jvmTarget>${java.version}</jvmTarget>
|
|
<javaParameters>true</javaParameters>
|
|
<args>
|
|
<arg>-Xjsr305=strict</arg>
|
|
</args>
|
|
<compilerPlugins>
|
|
<plugin>spring</plugin>
|
|
</compilerPlugins>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>kapt</id>
|
|
<goals>
|
|
<goal>kapt</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>src/main/kotlin</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.gantsign.maven</groupId>
|
|
<artifactId>ktlint-maven-plugin</artifactId>
|
|
<version>1.9.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|