2024-02-14 16:43:11 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>3.2.2</version>
|
|
|
|
|
<relativePath/>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<groupId>com.nisemoe</groupId>
|
|
|
|
|
<artifactId>nise-backend</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
<name>nise</name>
|
|
|
|
|
<description>nise.moe api</description>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>21</java.version>
|
|
|
|
|
<testcontainers.version>1.17.6</testcontainers.version>
|
|
|
|
|
<kotlin.version>1.9.22</kotlin.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2024-02-17 19:54:56 +00:00
|
|
|
<!-- Security / Login -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-oauth2-client</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-02-23 15:12:10 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aayushatharva.brotli4j</groupId>
|
|
|
|
|
<artifactId>brotli4j</artifactId>
|
|
|
|
|
<version>1.16.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-02-14 16:43:11 +00:00
|
|
|
<!-- Test containers -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
|
<artifactId>testcontainers</artifactId>
|
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
|
<version>${testcontainers.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.nisemoe</groupId>
|
|
|
|
|
<artifactId>konata</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-jooq</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
|
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
|
<artifactId>kotlinx-serialization-json</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
|
|
|
<artifactId>kotlinx-coroutines-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<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>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<args>
|
|
|
|
|
<arg>-Xjsr305=strict</arg>
|
|
|
|
|
</args>
|
|
|
|
|
<compilerPlugins>
|
|
|
|
|
<plugin>spring</plugin>
|
|
|
|
|
<plugin>kotlinx-serialization</plugin>
|
|
|
|
|
<plugin>no-arg</plugin>
|
|
|
|
|
</compilerPlugins>
|
|
|
|
|
<pluginOptions>
|
|
|
|
|
<option>no-arg:annotation=com.nisemoe.nise.AllowCacheSerialization</option>
|
|
|
|
|
</pluginOptions>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-maven-noarg</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-maven-allopen</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-maven-serialization</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- Jooq -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>generate-jooq-sources</id>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>generate</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
<version>42.5.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<configuration>
|
|
|
|
|
<jdbc>
|
|
|
|
|
<driver>org.postgresql.Driver</driver>
|
|
|
|
|
<url>jdbc:postgresql://nise-postgres.local:5432/postgres</url>
|
|
|
|
|
<user>postgres</user>
|
|
|
|
|
<password>lol123</password>
|
|
|
|
|
</jdbc>
|
|
|
|
|
<generator>
|
|
|
|
|
<name>org.jooq.codegen.KotlinGenerator</name>
|
|
|
|
|
<generate>
|
|
|
|
|
<kotlinNotNullPojoAttributes>true</kotlinNotNullPojoAttributes>
|
|
|
|
|
<kotlinNotNullRecordAttributes>true</kotlinNotNullRecordAttributes>
|
|
|
|
|
<kotlinNotNullInterfaceAttributes>true</kotlinNotNullInterfaceAttributes>
|
|
|
|
|
</generate>
|
|
|
|
|
<database>
|
|
|
|
|
<name>org.jooq.meta.postgres.PostgresDatabase</name>
|
|
|
|
|
<schemata>
|
|
|
|
|
<schema>
|
|
|
|
|
<inputSchema>public</inputSchema>
|
|
|
|
|
</schema>
|
|
|
|
|
</schemata>
|
|
|
|
|
</database>
|
|
|
|
|
<target>
|
|
|
|
|
<packageName>com.nisemoe.generated</packageName>
|
|
|
|
|
<directory>src/main/kotlin</directory>
|
|
|
|
|
</target>
|
|
|
|
|
</generator>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|