Updated pom.xml

Bumped spring boot version to 2.3.2
Added rsocket dep
This commit is contained in:
Rohan Sircar 2020-08-07 00:00:16 +05:30
parent 097e5d1f01
commit 3e669b704d

518
pom.xml
View File

@ -1,273 +1,247 @@
<?xml version="1.0" encoding="UTF-8" ?> <?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"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.boot</groupId> <parent>
<artifactId>spring-boot-starter-parent</artifactId> <groupId>org.springframework.boot</groupId>
<version>2.3.0.BUILD-SNAPSHOT</version> <artifactId>spring-boot-starter-parent</artifactId>
<relativePath /> <!-- lookup parent from repository --> <version>2.3.2.RELEASE</version>
</parent> <relativePath/>
<groupId>com.example</groupId> </parent>
<artifactId>demo</artifactId> <groupId>com.example</groupId>
<version>0.0.1-SNAPSHOT</version> <artifactId>demo</artifactId>
<name>demo</name> <version>0.0.1-SNAPSHOT</version>
<description>Kotlin Demo project for Spring Boot</description> <name>demo</name>
<description>Kotlin Demo project for Spring Boot</description>
<properties> <properties>
<java.version>11</java.version> <java.version>11</java.version>
<kotlin.version>1.3.72</kotlin.version> <kotlin.version>1.3.72</kotlin.version>
<kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget> <kotlin.compiler.jvmTarget>11</kotlin.compiler.jvmTarget>
</properties> </properties>
<dependencies>
<dependencies> <dependency>
<!-- <dependency>--> <groupId>org.springframework.boot</groupId>
<!-- <groupId>org.springframework.boot</groupId>--> <artifactId>spring-boot-starter-jooq</artifactId>
<!-- <artifactId>spring-boot-starter-data-r2dbc</artifactId>--> </dependency>
<!-- </dependency>--> <dependency>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId>
<artifactId>spring-boot-starter-jooq</artifactId> </dependency>
</dependency> <dependency>
<!-- <dependency>--> <groupId>org.springframework.boot</groupId>
<!-- <groupId>org.springframework.boot</groupId>--> <artifactId>spring-boot-starter-webflux</artifactId>
<!-- <artifactId>spring-boot-starter-security</artifactId>--> </dependency>
<!-- </dependency>--> <dependency>
<dependency> <groupId>com.fasterxml.jackson.module</groupId>
<groupId>org.springframework.boot</groupId> <artifactId>jackson-module-kotlin</artifactId>
<artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>io.projectreactor.kotlin</groupId>
<groupId>org.springframework.boot</groupId> <artifactId>reactor-kotlin-extensions</artifactId>
<artifactId>spring-boot-starter-webflux</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.flywaydb</groupId>
<groupId>com.fasterxml.jackson.module</groupId> <artifactId>flyway-core</artifactId>
<artifactId>jackson-module-kotlin</artifactId> <version>5.2.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.projectreactor.kotlin</groupId> <groupId>org.jetbrains.kotlin</groupId>
<artifactId>reactor-kotlin-extensions</artifactId> <artifactId>kotlin-reflect</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.flywaydb</groupId> <groupId>org.jetbrains.kotlin</groupId>
<artifactId>flyway-core</artifactId> <artifactId>kotlin-stdlib-jdk8</artifactId>
<version>5.2.0</version> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.jetbrains.kotlinx</groupId>
<groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlinx-coroutines-reactor</artifactId>
<artifactId>kotlin-reflect</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>org.jetbrains.kotlin</groupId> <artifactId>spring-boot-devtools</artifactId>
<artifactId>kotlin-stdlib-jdk8</artifactId> <scope>runtime</scope>
</dependency> <optional>true</optional>
<dependency> </dependency>
<groupId>org.jetbrains.kotlinx</groupId> <dependency>
<artifactId>kotlinx-coroutines-reactor</artifactId> <groupId>com.h2database</groupId>
</dependency> <artifactId>h2</artifactId>
<scope>test</scope>
<dependency> </dependency>
<groupId>org.springframework.boot</groupId> <dependency>
<artifactId>spring-boot-devtools</artifactId> <groupId>org.springframework.boot</groupId>
<scope>runtime</scope> <artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.h2database</groupId> <groupId>org.projectlombok</groupId>
<artifactId>h2</artifactId> <artifactId>lombok</artifactId>
<scope>test</scope> <optional>true</optional>
</dependency> </dependency>
<!-- <dependency>--> <dependency>
<!-- <groupId>io.r2dbc</groupId>--> <groupId>org.springframework.boot</groupId>
<!-- <artifactId>r2dbc-h2</artifactId>--> <artifactId>spring-boot-starter-test</artifactId>
<!-- <scope>runtime</scope>--> <scope>test</scope>
<!-- </dependency>--> <exclusions>
<dependency> <exclusion>
<groupId>org.springframework.boot</groupId> <groupId>org.junit.vintage</groupId>
<artifactId>spring-boot-configuration-processor</artifactId> <artifactId>junit-vintage-engine</artifactId>
<optional>true</optional> </exclusion>
</dependency> </exclusions>
<dependency> </dependency>
<groupId>org.projectlombok</groupId> <dependency>
<artifactId>lombok</artifactId> <groupId>io.projectreactor</groupId>
<optional>true</optional> <artifactId>reactor-test</artifactId>
</dependency> <scope>test</scope>
<dependency> </dependency>
<groupId>org.springframework.boot</groupId> <dependency>
<artifactId>spring-boot-starter-test</artifactId> <groupId>mysql</groupId>
<scope>test</scope> <artifactId>mysql-connector-java</artifactId>
<exclusions> <scope>runtime</scope>
<exclusion> </dependency>
<groupId>org.junit.vintage</groupId> <dependency>
<artifactId>junit-vintage-engine</artifactId> <groupId>org.springframework.boot</groupId>
</exclusion> <artifactId>spring-boot-starter-rsocket</artifactId>
</exclusions> <scope>compile</scope>
</dependency> </dependency>
<dependency> </dependencies>
<groupId>io.projectreactor</groupId> <build>
<artifactId>reactor-test</artifactId> <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<scope>test</scope> <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
</dependency> <plugins>
<dependency> <plugin>
<groupId>mysql</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>properties-maven-plugin</artifactId>
<scope>runtime</scope> <version>1.0.0</version>
</dependency> <executions>
<!-- <dependency>--> <execution>
<!-- <groupId>org.springframework.security</groupId>--> <phase>initialize</phase>
<!-- <artifactId>spring-security-test</artifactId>--> <goals>
<!-- <scope>test</scope>--> <goal>read-project-properties</goal>
<!-- </dependency>--> </goals>
<!-- https://mvnrepository.com/artifact/org.codehaus.mojo/properties-maven-plugin --> <configuration>
<files>
</dependencies> <file>src/main/resources/application.properties</file>
</files>
<build> </configuration>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> </execution>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> </executions>
<plugins> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.flywaydb</groupId>
<artifactId>properties-maven-plugin</artifactId> <artifactId>flyway-maven-plugin</artifactId>
<version>1.0.0</version> <version>5.2.4</version>
<executions> <executions>
<execution> <execution>
<phase>initialize</phase> <phase>generate-sources</phase>
<goals> <goals>
<goal>read-project-properties</goal> <goal>migrate</goal>
</goals> </goals>
<configuration> </execution>
<files> </executions>
<file>src/main/resources/application.properties</file> <configuration>
</files> <driver>${spring.datasource.driverClassName}</driver>
</configuration> <url>${spring.datasource.url}</url>
</execution> <user>${spring.datasource.username}</user>
</executions> <password>${spring.datasource.password}</password>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.flywaydb</groupId> <plugin>
<artifactId>flyway-maven-plugin</artifactId> <groupId>org.springframework.boot</groupId>
<version>5.2.4</version> <artifactId>spring-boot-maven-plugin</artifactId>
<executions> </plugin>
<execution> <plugin>
<phase>generate-sources</phase> <groupId>org.jetbrains.kotlin</groupId>
<goals> <artifactId>kotlin-maven-plugin</artifactId>
<goal>migrate</goal> <configuration>
</goals> <args>
</execution> <arg>-Xjsr305=strict</arg>
</executions> </args>
<configuration> <compilerPlugins>
<driver>${spring.datasource.driverClassName}</driver> <plugin>spring</plugin>
<url>${spring.datasource.url}</url> </compilerPlugins>
<user>${spring.datasource.username}</user> </configuration>
<password>${spring.datasource.password}</password> <dependencies>
</configuration> <dependency>
</plugin> <groupId>org.jetbrains.kotlin</groupId>
<plugin> <artifactId>kotlin-maven-allopen</artifactId>
<groupId>org.springframework.boot</groupId> <version>${kotlin.version}</version>
<artifactId>spring-boot-maven-plugin</artifactId> </dependency>
</plugin> </dependencies>
<plugin> </plugin>
<groupId>org.jetbrains.kotlin</groupId> <plugin>
<artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jooq</groupId>
<configuration> <artifactId>jooq-codegen-maven</artifactId>
<args> <executions>
<arg>-Xjsr305=strict</arg> <execution>
</args> <id>generate-mysql</id>
<compilerPlugins> <phase>generate-sources</phase>
<plugin>spring</plugin> <goals>
</compilerPlugins> <goal>generate</goal>
</configuration> </goals>
<dependencies> <configuration>
<dependency> <jdbc>
<groupId>org.jetbrains.kotlin</groupId> <driver>${spring.datasource.driverClassName}</driver>
<artifactId>kotlin-maven-allopen</artifactId> <url>${spring.datasource.url}</url>
<version>${kotlin.version}</version> <user>${spring.datasource.username}</user>
</dependency> <password>${spring.datasource.password}</password>
</dependencies> </jdbc>
</plugin> <generator>
<plugin> <database>
<groupId>org.jooq</groupId> <name>org.jooq.meta.mysql.MySQLDatabase</name>
<artifactId>jooq-codegen-maven</artifactId> <excludes>(?i:information_schema\..*)</excludes>
</database>
<executions> <generate>
<execution> <deprecated>false</deprecated>
<id>generate-mysql</id> <instanceFields>true</instanceFields>
<phase>generate-sources</phase> <pojos>true</pojos>
<goals> <daos>true</daos>
<goal>generate</goal> </generate>
</goals> <target>
<configuration> <packageName>com.example.demo.model</packageName>
<jdbc> <directory>target/generated-sources/jooq</directory>
<driver>${spring.datasource.driverClassName}</driver> </target>
<url>${spring.datasource.url}</url> </generator>
<user>${spring.datasource.username}</user> </configuration>
<password>${spring.datasource.password}</password> </execution>
</jdbc> </executions>
<generator> <dependencies>
<database> <dependency>
<name>org.jooq.meta.mysql.MySQLDatabase</name> <groupId>mysql</groupId>
<!-- <includes>test_db</includes>--> <artifactId>mysql-connector-java</artifactId>
<excludes>(?i:information_schema\..*)</excludes> <version>8.0.20</version>
<!-- <inputSchema>test_db</inputSchema>--> </dependency>
</database> </dependencies>
<generate> </plugin>
<deprecated>false</deprecated> </plugins>
<instanceFields>true</instanceFields> </build>
<pojos>true</pojos> <repositories>
<daos>true</daos> <repository>
</generate> <id>spring-milestones</id>
<target> <name>Spring Milestones</name>
<packageName>com.example.demo.model</packageName> <url>https://repo.spring.io/milestone</url>
<directory>target/generated-sources/jooq</directory> </repository>
<!-- <directory>src/main/kotlin/com/example/demo/model</directory>--> <repository>
</target> <id>spring-snapshots</id>
</generator> <name>Spring Snapshots</name>
</configuration> <url>https://repo.spring.io/snapshot</url>
</execution> <snapshots>
</executions> <enabled>true</enabled>
</snapshots>
<dependencies> </repository>
<dependency> </repositories>
<groupId>mysql</groupId> <pluginRepositories>
<artifactId>mysql-connector-java</artifactId> <pluginRepository>
<version>8.0.20</version> <id>spring-milestones</id>
</dependency> <name>Spring Milestones</name>
</dependencies> <url>https://repo.spring.io/milestone</url>
</pluginRepository>
</plugin> <pluginRepository>
</plugins> <id>spring-snapshots</id>
</build> <name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<repositories> <snapshots>
<repository> <enabled>true</enabled>
<id>spring-milestones</id> </snapshots>
<name>Spring Milestones</name> </pluginRepository>
<url>https://repo.spring.io/milestone</url> </pluginRepositories>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
<pluginRepository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project> </project>