143 lines
		
	
	
		
			5.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			143 lines
		
	
	
		
			5.3 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>
 | |
|     <groupId>com.baeldung</groupId>
 | |
|     <artifactId>spring-5-mvc</artifactId>
 | |
|     <version>0.0.1-SNAPSHOT</version>
 | |
|     <packaging>jar</packaging>
 | |
|     <name>spring-5-mvc</name>
 | |
|     <description>spring 5 MVC sample project about new features</description>
 | |
| 
 | |
|     <parent>
 | |
|         <groupId>com.baeldung</groupId>
 | |
|         <artifactId>parent-boot-2</artifactId>
 | |
|         <version>0.0.1-SNAPSHOT</version>
 | |
|         <relativePath>../parent-boot-2</relativePath>
 | |
|         <!-- lookup parent from repository -->
 | |
|     </parent>
 | |
| 
 | |
|     <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-security</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-validation</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-web</artifactId>
 | |
|         </dependency>
 | |
|         <!-- utils -->
 | |
|         <dependency>
 | |
|             <groupId>org.apache.commons</groupId>
 | |
|             <artifactId>commons-lang3</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.slf4j</groupId>
 | |
|             <artifactId>slf4j-api</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.slf4j</groupId>
 | |
|             <artifactId>jcl-over-slf4j</artifactId>
 | |
|         </dependency>
 | |
|         <!--kotlin deps -->
 | |
|         <dependency>
 | |
|             <groupId>org.jetbrains.kotlin</groupId>
 | |
|             <artifactId>kotlin-stdlib-jre8</artifactId>
 | |
|             <version>${kotlin.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.jetbrains.kotlin</groupId>
 | |
|             <artifactId>kotlin-reflect</artifactId>
 | |
|             <version>${kotlin.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>com.fasterxml.jackson.module</groupId>
 | |
|             <artifactId>jackson-module-kotlin</artifactId>
 | |
|         </dependency>
 | |
|         <!-- runtime and test scoped -->
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-devtools</artifactId>
 | |
|             <scope>runtime</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>com.h2database</groupId>
 | |
|             <artifactId>h2</artifactId>
 | |
|             <scope>runtime</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework</groupId>
 | |
|             <artifactId>spring-test</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-test</artifactId>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>com.jayway.restassured</groupId>
 | |
|             <artifactId>rest-assured</artifactId>
 | |
|             <version>${jayway-rest-assured.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>
 | |
|             </plugin>
 | |
|             <plugin>
 | |
|                 <artifactId>kotlin-maven-plugin</artifactId>
 | |
|                 <groupId>org.jetbrains.kotlin</groupId>
 | |
|                 <version>${kotlin.version}</version>
 | |
|                 <configuration>
 | |
|                     <compilerPlugins>
 | |
|                         <plugin>spring</plugin>
 | |
|                     </compilerPlugins>
 | |
|                     <jvmTarget>${java.version}</jvmTarget>
 | |
|                 </configuration>
 | |
|                 <executions>
 | |
|                     <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>
 | |
|         </plugins>
 | |
|     </build>
 | |
|     
 | |
|     <properties>
 | |
|         <jayway-rest-assured.version>2.9.0</jayway-rest-assured.version>
 | |
|         <kotlin.version>1.1.2</kotlin.version>
 | |
|     </properties>
 | |
| </project>
 |