|
|
@ -1,37 +1,28 @@ |
|
|
|
<?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"> |
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
|
|
<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>2.3.0.BUILD-SNAPSHOT</version> |
|
|
|
<relativePath /> <!-- lookup parent from repository --> |
|
|
|
<version>2.3.2.RELEASE</version> |
|
|
|
<relativePath/> |
|
|
|
</parent> |
|
|
|
<groupId>com.example</groupId> |
|
|
|
<artifactId>demo</artifactId> |
|
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
|
<name>demo</name> |
|
|
|
<description>Kotlin Demo project for Spring Boot</description> |
|
|
|
|
|
|
|
<properties> |
|
|
|
<java.version>11</java.version> |
|
|
|
<kotlin.version>1.3.72</kotlin.version> |
|
|
|
<kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget> |
|
|
|
</properties> |
|
|
|
|
|
|
|
<dependencies> |
|
|
|
<!-- <dependency>--> |
|
|
|
<!-- <groupId>org.springframework.boot</groupId>--> |
|
|
|
<!-- <artifactId>spring-boot-starter-data-r2dbc</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-security</artifactId>--> |
|
|
|
<!-- </dependency>--> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId> |
|
|
@ -65,7 +56,6 @@ |
|
|
|
<groupId>org.jetbrains.kotlinx</groupId> |
|
|
|
<artifactId>kotlinx-coroutines-reactor</artifactId> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-devtools</artifactId> |
|
|
@ -77,11 +67,6 @@ |
|
|
|
<artifactId>h2</artifactId> |
|
|
|
<scope>test</scope> |
|
|
|
</dependency> |
|
|
|
<!-- <dependency>--> |
|
|
|
<!-- <groupId>io.r2dbc</groupId>--> |
|
|
|
<!-- <artifactId>r2dbc-h2</artifactId>--> |
|
|
|
<!-- <scope>runtime</scope>--> |
|
|
|
<!-- </dependency>--> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId> |
|
|
@ -113,15 +98,12 @@ |
|
|
|
<artifactId>mysql-connector-java</artifactId> |
|
|
|
<scope>runtime</scope> |
|
|
|
</dependency> |
|
|
|
<!-- <dependency>--> |
|
|
|
<!-- <groupId>org.springframework.security</groupId>--> |
|
|
|
<!-- <artifactId>spring-security-test</artifactId>--> |
|
|
|
<!-- <scope>test</scope>--> |
|
|
|
<!-- </dependency>--> |
|
|
|
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/properties-maven-plugin --> |
|
|
|
|
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-starter-rsocket</artifactId> |
|
|
|
<scope>compile</scope> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
<build> |
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
|
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> |
|
|
@ -189,7 +171,6 @@ |
|
|
|
<plugin> |
|
|
|
<groupId>org.jooq</groupId> |
|
|
|
<artifactId>jooq-codegen-maven</artifactId> |
|
|
|
|
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>generate-mysql</id> |
|
|
@ -207,9 +188,7 @@ |
|
|
|
<generator> |
|
|
|
<database> |
|
|
|
<name>org.jooq.meta.mysql.MySQLDatabase</name> |
|
|
|
<!-- <includes>test_db</includes>--> |
|
|
|
<excludes>(?i:information_schema\..*)</excludes> |
|
|
|
<!-- <inputSchema>test_db</inputSchema>--> |
|
|
|
</database> |
|
|
|
<generate> |
|
|
|
<deprecated>false</deprecated> |
|
|
@ -220,13 +199,11 @@ |
|
|
|
<target> |
|
|
|
<packageName>com.example.demo.model</packageName> |
|
|
|
<directory>target/generated-sources/jooq</directory> |
|
|
|
<!-- <directory>src/main/kotlin/com/example/demo/model</directory>--> |
|
|
|
</target> |
|
|
|
</generator> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
|
|
|
|
<dependencies> |
|
|
|
<dependency> |
|
|
|
<groupId>mysql</groupId> |
|
|
@ -234,11 +211,9 @@ |
|
|
|
<version>8.0.20</version> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
</plugin> |
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
|
|
|
|
<repositories> |
|
|
|
<repository> |
|
|
|
<id>spring-milestones</id> |
|
|
@ -269,5 +244,4 @@ |
|
|
|
</snapshots> |
|
|
|
</pluginRepository> |
|
|
|
</pluginRepositories> |
|
|
|
|
|
|
|
</project> |