11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4- <modelVersion >4.0.0</modelVersion >
5- <artifactId >core-kotlin</artifactId >
6- <version >1.0-SNAPSHOT</version >
7- <packaging >jar</packaging >
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <artifactId >core-kotlin</artifactId >
6+ <packaging >jar</packaging >
87
9- <parent >
10- <groupId >com.baeldung</groupId >
11- <artifactId >parent-modules</artifactId >
12- <version >1.0.0-SNAPSHOT</version >
13- </parent >
8+ <parent >
9+ <groupId >com.baeldung</groupId >
10+ <artifactId >parent-kotlin</artifactId >
11+ <version >1.0.0-SNAPSHOT</version >
12+ <relativePath >../parent-kotlin</relativePath >
13+ </parent >
1414
15- <repositories >
16- <repository >
17- <id >jcenter</id >
18- <url >http://jcenter.bintray.com</url >
19- </repository >
20- <repository >
21- <id >kotlin-ktor</id >
22- <url >https://dl.bintray.com/kotlin/ktor/</url >
23- </repository >
24- </repositories >
15+ <dependencies >
16+ <dependency >
17+ <groupId >org.jetbrains.spek</groupId >
18+ <artifactId >spek-api</artifactId >
19+ <version >1.1.5</version >
20+ <scope >test</scope >
21+ </dependency >
22+ <dependency >
23+ <groupId >org.jetbrains.spek</groupId >
24+ <artifactId >spek-subject-extension</artifactId >
25+ <version >1.1.5</version >
26+ <scope >test</scope >
27+ </dependency >
28+ <dependency >
29+ <groupId >org.jetbrains.spek</groupId >
30+ <artifactId >spek-junit-platform-engine</artifactId >
31+ <version >1.1.5</version >
32+ <scope >test</scope >
33+ </dependency >
34+ <dependency >
35+ <groupId >org.apache.commons</groupId >
36+ <artifactId >commons-math3</artifactId >
37+ <version >${commons-math3.version} </version >
38+ </dependency >
39+ <dependency >
40+ <groupId >org.junit.platform</groupId >
41+ <artifactId >junit-platform-runner</artifactId >
42+ <version >${junit.platform.version} </version >
43+ <scope >test</scope >
44+ </dependency >
45+ <dependency >
46+ <groupId >khttp</groupId >
47+ <artifactId >khttp</artifactId >
48+ <version >${khttp.version} </version >
49+ </dependency >
50+ <dependency >
51+ <groupId >com.nhaarman</groupId >
52+ <artifactId >mockito-kotlin</artifactId >
53+ <version >${mockito-kotlin.version} </version >
54+ <scope >test</scope >
55+ </dependency >
56+ <dependency >
57+ <groupId >com.github.salomonbrys.kodein</groupId >
58+ <artifactId >kodein</artifactId >
59+ <version >${kodein.version} </version >
60+ </dependency >
61+ <dependency >
62+ <groupId >org.assertj</groupId >
63+ <artifactId >assertj-core</artifactId >
64+ <version >${assertj.version} </version >
65+ <scope >test</scope >
66+ </dependency >
67+ <dependency >
68+ <groupId >com.beust</groupId >
69+ <artifactId >klaxon</artifactId >
70+ <version >${klaxon.version} </version >
71+ </dependency >
72+ </dependencies >
2573
26- <dependencies >
27- <dependency >
28- <groupId >org.apache.commons</groupId >
29- <artifactId >commons-math3</artifactId >
30- <version >${commons-math3.version} </version >
31- </dependency >
32- <dependency >
33- <groupId >org.junit.platform</groupId >
34- <artifactId >junit-platform-runner</artifactId >
35- <version >${junit.platform.version} </version >
36- <scope >test</scope >
37- </dependency >
38- <dependency >
39- <groupId >org.jetbrains.kotlin</groupId >
40- <artifactId >kotlin-stdlib</artifactId >
41- <version >${kotlin-stdlib.version} </version >
42- </dependency >
43- <dependency >
44- <groupId >org.jetbrains.kotlin</groupId >
45- <artifactId >kotlin-stdlib-jdk8</artifactId >
46- <version >${kotlin-stdlib.version} </version >
47- </dependency >
48- <dependency >
49- <groupId >khttp</groupId >
50- <artifactId >khttp</artifactId >
51- <version >${khttp.version} </version >
52- </dependency >
53- <dependency >
54- <groupId >org.jetbrains.kotlin</groupId >
55- <artifactId >kotlin-test-junit</artifactId >
56- <version >${kotlin-test-junit.version} </version >
57- <scope >test</scope >
58- </dependency >
59- <dependency >
60- <groupId >org.jetbrains.kotlin</groupId >
61- <artifactId >kotlin-reflect</artifactId >
62- <version >${kotlin-reflect.version} </version >
63- </dependency >
64- <dependency >
65- <groupId >org.jetbrains.kotlinx</groupId >
66- <artifactId >kotlinx-coroutines-core</artifactId >
67- <version >${kotlinx.version} </version >
68- </dependency >
69- <dependency >
70- <groupId >org.jetbrains.spek</groupId >
71- <artifactId >spek-api</artifactId >
72- <version >1.1.5</version >
73- <scope >test</scope >
74- </dependency >
75- <dependency >
76- <groupId >org.jetbrains.spek</groupId >
77- <artifactId >spek-subject-extension</artifactId >
78- <version >1.1.5</version >
79- <scope >test</scope >
80- </dependency >
81- <dependency >
82- <groupId >org.jetbrains.spek</groupId >
83- <artifactId >spek-junit-platform-engine</artifactId >
84- <version >1.1.5</version >
85- <scope >test</scope >
86- </dependency >
87- <dependency >
88- <groupId >com.nhaarman</groupId >
89- <artifactId >mockito-kotlin</artifactId >
90- <version >${mockito-kotlin.version} </version >
91- <scope >test</scope >
92- </dependency >
93- <dependency >
94- <groupId >com.github.salomonbrys.kodein</groupId >
95- <artifactId >kodein</artifactId >
96- <version >${kodein.version} </version >
97- </dependency >
98- <dependency >
99- <groupId >org.assertj</groupId >
100- <artifactId >assertj-core</artifactId >
101- <version >${assertj.version} </version >
102- <scope >test</scope >
103- </dependency >
104- <dependency >
105- <groupId >com.beust</groupId >
106- <artifactId >klaxon</artifactId >
107- <version >${klaxon.version} </version >
108- </dependency >
109- <dependency >
110- <groupId >io.ktor</groupId >
111- <artifactId >ktor-server-netty</artifactId >
112- <version >${ktor.io.version} </version >
113- </dependency >
114- <dependency >
115- <groupId >io.ktor</groupId >
116- <artifactId >ktor-gson</artifactId >
117- <version >${ktor.io.version} </version >
118- </dependency >
119- <dependency >
120- <groupId >ch.qos.logback</groupId >
121- <artifactId >logback-classic</artifactId >
122- <version >1.2.1</version >
123- <scope >test</scope >
124- </dependency >
125- </dependencies >
126-
127- <build >
128- <plugins >
129- <plugin >
130- <groupId >org.jetbrains.kotlin</groupId >
131- <artifactId >kotlin-maven-plugin</artifactId >
132- <version >${kotlin-maven-plugin.version} </version >
133- <executions >
134- <execution >
135- <id >compile</id >
136- <goals >
137- <goal >compile</goal >
138- </goals >
139- <configuration >
140- <sourceDirs >
141- <sourceDir >${project.basedir} /src/main/kotlin</sourceDir >
142- <sourceDir >${project.basedir} /src/main/java</sourceDir >
143- </sourceDirs >
144- </configuration >
145- </execution >
146- <execution >
147- <id >test-compile</id >
148- <goals >
149- <goal >test-compile</goal >
150- </goals >
151- <configuration >
152- <sourceDirs >
153- <sourceDir >${project.basedir} /src/test/kotlin</sourceDir >
154- <sourceDir >${project.basedir} /src/test/java</sourceDir >
155- </sourceDirs >
156- </configuration >
157- </execution >
158- </executions >
159- </plugin >
160- <plugin >
161- <groupId >org.apache.maven.plugins</groupId >
162- <artifactId >maven-compiler-plugin</artifactId >
163- <version >${maven-compiler-plugin.version} </version >
164- <configuration >
165- <source >${java.version} </source >
166- <target >${java.version} </target >
167- </configuration >
168- <executions >
169- <!-- Replacing default-compile as it is treated specially
170- by maven -->
171- <execution >
172- <id >default-compile</id >
173- <phase >none</phase >
174- </execution >
175- <!-- Replacing default-testCompile as it is treated specially
176- by maven -->
177- <execution >
178- <id >default-testCompile</id >
179- <phase >none</phase >
180- </execution >
181- <execution >
182- <id >java-compile</id >
183- <phase >compile</phase >
184- <goals >
185- <goal >compile</goal >
186- </goals >
187- </execution >
188- <execution >
189- <id >java-test-compile</id >
190- <phase >test-compile</phase >
191- <goals >
192- <goal >testCompile</goal >
193- </goals >
194- </execution >
195- </executions >
196- </plugin >
197- <plugin >
198- <artifactId >maven-failsafe-plugin</artifactId >
199- <version >${maven-failsafe-plugin.version} </version >
200- <dependencies >
201- <dependency >
202- <groupId >org.junit.platform</groupId >
203- <artifactId >junit-platform-surefire-provider</artifactId >
204- <version >${junit.platform.version} </version >
205- </dependency >
206- </dependencies >
207- <executions >
208- <execution >
209- <id >junit5</id >
210- <goals >
211- <goal >integration-test</goal >
212- <goal >verify</goal >
213- </goals >
214- <configuration >
215- <includes >
216- <include >**/*Test5.java</include >
217- </includes >
218- </configuration >
219- </execution >
220- </executions >
221- </plugin >
222- </plugins >
223- </build >
224-
225- <properties >
226- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
227- <kotlin-maven-plugin .version>1.2.60</kotlin-maven-plugin .version>
228- <kotlin-test-junit .version>1.2.60</kotlin-test-junit .version>
229- <kotlin-stdlib .version>1.2.60</kotlin-stdlib .version>
230- <kotlin-reflect .version>1.2.60</kotlin-reflect .version>
231- <kotlinx .version>0.22.5</kotlinx .version>
232- <ktor .io.version>0.9.2</ktor .io.version>
233- <mockito-kotlin .version>1.5.0</mockito-kotlin .version>
234- <kodein .version>4.1.0</kodein .version>
235- <klaxon .version>3.0.4</klaxon .version>
236- <khttp .version>0.1.0</khttp .version>
237- <commons-math3 .version>3.6.1</commons-math3 .version>
238- <junit .platform.version>1.1.1</junit .platform.version>
239- <junit .vintage.version>5.2.0</junit .vintage.version>
240- <assertj .version>3.10.0</assertj .version>
241- </properties >
74+ <properties >
75+ <mockito-kotlin .version>1.5.0</mockito-kotlin .version>
76+ <kodein .version>4.1.0</kodein .version>
77+ <klaxon .version>3.0.4</klaxon .version>
78+ <khttp .version>0.1.0</khttp .version>
79+ <commons-math3 .version>3.6.1</commons-math3 .version>
80+ <junit .platform.version>1.1.1</junit .platform.version>
81+ <junit .vintage.version>5.2.0</junit .vintage.version>
82+ <assertj .version>3.10.0</assertj .version>
83+ </properties >
24284
24385</project >
0 commit comments