Created
October 15, 2021 12:25
-
-
Save the-mgi/df6fd9fd68d8ff4a7ce8b1b022cc28ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>2.5.5</version> | |
| <relativePath/> <!-- lookup parent from repository --> | |
| </parent> | |
| <properties> | |
| <java.version>1.8</java.version> | |
| <kotlin.version>1.5.31</kotlin.version> | |
| <org.mapstruct.version>1.5.0.Beta1</org.mapstruct.version> | |
| <spring-cloud.version>2020.0.4</spring-cloud.version> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-data-jpa</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-web</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.module</groupId> | |
| <artifactId>jackson-module-kotlin</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jetbrains.kotlin</groupId> | |
| <artifactId>kotlin-reflect</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jetbrains.kotlin</groupId> | |
| <artifactId>kotlin-stdlib-jdk8</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-test</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springdoc</groupId> | |
| <artifactId>springdoc-openapi-ui</artifactId> | |
| <version>1.5.10</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.validation</groupId> | |
| <artifactId>jakarta.validation-api</artifactId> | |
| <version>2.0.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.microsoft.sqlserver</groupId> | |
| <artifactId>mssql-jdbc</artifactId> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mapstruct</groupId> | |
| <artifactId>mapstruct</artifactId> | |
| <version>${org.mapstruct.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-dependencies</artifactId> | |
| <version>${spring-cloud.version}</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <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> | |
| <version>${kotlin.version}</version> | |
| <executions> | |
| <execution> | |
| <id>kapt</id> | |
| <goals> | |
| <goal>kapt</goal> | |
| </goals> | |
| <configuration> | |
| <sourceDirs> | |
| <sourceDir>src/main/kotlin</sourceDir> | |
| <sourceDir>src/main/java</sourceDir> | |
| </sourceDirs> | |
| <annotationProcessorPaths> | |
| <annotationProcessorPath> | |
| <groupId>org.mapstruct</groupId> | |
| <artifactId>mapstruct-processor</artifactId> | |
| <version>${org.mapstruct.version}</version> | |
| </annotationProcessorPath> | |
| </annotationProcessorPaths> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>compile</id> | |
| <phase>compile</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <configuration> | |
| <sourceDirs> | |
| <sourceDir>${project.basedir}/src/main/kotlin</sourceDir> | |
| <sourceDir>${project.basedir}/src/main/java</sourceDir> | |
| </sourceDirs> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>test-compile</id> | |
| <phase>test-compile</phase> | |
| <goals> | |
| <goal>test-compile</goal> | |
| </goals> | |
| <configuration> | |
| <sourceDirs> | |
| <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> | |
| <sourceDir>${project.basedir}/src/test/java</sourceDir> | |
| </sourceDirs> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <args> | |
| <arg>-Xjsr305=strict</arg> | |
| </args> | |
| <compilerPlugins> | |
| <plugin>spring</plugin> | |
| <plugin>jpa</plugin> | |
| </compilerPlugins> | |
| </configuration> | |
| <dependencies> | |
| <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-noarg</artifactId> | |
| <version>${kotlin.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mapstruct</groupId> | |
| <artifactId>mapstruct-processor</artifactId> | |
| <version>${org.mapstruct.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.5.1</version> | |
| <executions> | |
| <!-- Replacing default-compile as it is treated specially by maven --> | |
| <execution> | |
| <id>default-compile</id> | |
| <phase>none</phase> | |
| </execution> | |
| <!-- Replacing default-testCompile as it is treated specially by maven --> | |
| <execution> | |
| <id>default-testCompile</id> | |
| <phase>none</phase> | |
| </execution> | |
| <execution> | |
| <id>java-compile</id> | |
| <phase>compile</phase> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| </execution> | |
| <execution> | |
| <id>java-test-compile</id> | |
| <phase>test-compile</phase> | |
| <goals> | |
| <goal>testCompile</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment