1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.baeldung</groupId >
8+ <artifactId >kotlin</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+
11+ <dependencies >
12+ <dependency >
13+ <groupId >org.jetbrains.kotlin</groupId >
14+ <artifactId >kotlin-stdlib</artifactId >
15+ <version >${kotlin-stdlib.version} </version >
16+ </dependency >
17+ <dependency >
18+ <groupId >org.jetbrains.kotlin</groupId >
19+ <artifactId >kotlin-test-junit</artifactId >
20+ <version >${kotlin-test-junit.version} </version >
21+ <scope >test</scope >
22+ </dependency >
23+ <dependency >
24+ <groupId >junit</groupId >
25+ <artifactId >junit</artifactId >
26+ <version >${junit.version} </version >
27+ <scope >test</scope >
28+ </dependency >
29+ </dependencies >
30+
31+ <build >
32+ <sourceDirectory >${project.basedir} /src/main/kotlin</sourceDirectory >
33+ <testSourceDirectory >${project.basedir} /src/test/kotlin</testSourceDirectory >
34+ <plugins >
35+ <plugin >
36+ <artifactId >kotlin-maven-plugin</artifactId >
37+ <groupId >org.jetbrains.kotlin</groupId >
38+ <version >${kotlin-maven-plugin.version} </version >
39+ <executions >
40+ <execution >
41+ <id >compile</id >
42+ <goals >
43+ <goal >compile</goal >
44+ </goals >
45+ </execution >
46+
47+ <execution >
48+ <id >test-compile</id >
49+ <goals >
50+ <goal >test-compile</goal >
51+ </goals >
52+ </execution >
53+ </executions >
54+ </plugin >
55+ </plugins >
56+ </build >
57+
58+ <properties >
59+ <junit .version>4.12</junit .version>
60+ <kotlin-test-junit .version>1.0.4</kotlin-test-junit .version>
61+ <kotlin-stdlib .version>1.0.4</kotlin-stdlib .version>
62+ <kotlin-maven-plugin .version>1.0.4</kotlin-maven-plugin .version>
63+ </properties >
64+
65+ </project >
0 commit comments