* configured spring repo in the 'parent-kotlin' model to allow using spring's milestone artifacts * configured jackson kotlin module in the 'parent-kotlin' to allow easy use of kotlin data classes with jackson * switched spring-mvc-kotlin from explicit spring dependencies to spring-boot * mockmvc dsl article's source and tests
		
			
				
	
	
		
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
 | |
| 	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>
 | |
| 	<artifactId>spring-mvc-kotlin</artifactId>
 | |
| 	<name>spring-mvc-kotlin</name>
 | |
| 	<packaging>war</packaging>
 | |
| 
 | |
| 	<parent>
 | |
| 		<artifactId>parent-kotlin</artifactId>
 | |
| 		<groupId>com.baeldung</groupId>
 | |
| 		<version>1.0.0-SNAPSHOT</version>
 | |
| 		<relativePath>../parent-kotlin</relativePath>
 | |
| 	</parent>
 | |
| 
 | |
| 	<dependencies>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-web</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-json</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.thymeleaf</groupId>
 | |
| 			<artifactId>thymeleaf</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.thymeleaf</groupId>
 | |
| 			<artifactId>thymeleaf-spring4</artifactId>
 | |
| 			<version>${thymeleaf.version}</version>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.hibernate</groupId>
 | |
| 			<artifactId>hibernate-core</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.hibernate</groupId>
 | |
| 			<artifactId>hibernate-testing</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>com.h2database</groupId>
 | |
| 			<artifactId>h2</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-test</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 	</dependencies>
 | |
| 
 | |
| 	<build>
 | |
| 		<plugins>
 | |
| 			<plugin>
 | |
| 				<artifactId>kotlin-maven-plugin</artifactId>
 | |
| 				<groupId>org.jetbrains.kotlin</groupId>
 | |
| 				<version>${kotlin.version}</version>
 | |
| 				<configuration>
 | |
| 					<compilerPlugins>
 | |
| 						<plugin>spring</plugin>
 | |
| 						<plugin>jpa</plugin>
 | |
| 					</compilerPlugins>
 | |
| 				</configuration>
 | |
| 				<dependencies>
 | |
| 					<dependency>
 | |
| 						<groupId>org.jetbrains.kotlin</groupId>
 | |
| 						<artifactId>kotlin-maven-noarg</artifactId>
 | |
| 						<version>${kotlin.version}</version>
 | |
| 					</dependency>
 | |
| 				</dependencies>
 | |
| 			</plugin>
 | |
| 		</plugins>
 | |
| 	</build>
 | |
| 
 | |
| 	<properties>
 | |
| 		<thymeleaf.version>3.0.7.RELEASE</thymeleaf.version>
 | |
| 	</properties>
 | |
| 
 | |
| </project> |