|
23 | 23 | <javac.target.version>1.8</javac.target.version>
|
24 | 24 | <scala.version>2.13</scala.version>
|
25 | 25 | <scala.full.version>2.13.3</scala.full.version>
|
| 26 | + <kotlin.version>1.4.21</kotlin.version> |
26 | 27 |
|
27 | 28 | <!-- 13-Oct-2020, tatu: may need to occasionally work around missing Scala
|
28 | 29 | module snapshot version
|
|
60 | 61 | <artifactId>scala-library</artifactId>
|
61 | 62 | <version>${scala.full.version}</version>
|
62 | 63 | </dependency>
|
| 64 | + <dependency> |
| 65 | + <groupId>com.fasterxml.jackson.module</groupId> |
| 66 | + <artifactId>jackson-module-kotlin</artifactId> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.jetbrains.kotlin</groupId> |
| 70 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 71 | + <version>${kotlin.version}</version> |
| 72 | + </dependency> |
63 | 73 |
|
64 | 74 | <!-- first, try to ensure dataformats work -->
|
65 | 75 | <dependency>
|
|
211 | 221 | </execution>
|
212 | 222 | </executions>
|
213 | 223 | </plugin>
|
| 224 | + <plugin> |
| 225 | + <groupId>org.jetbrains.kotlin</groupId> |
| 226 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 227 | + <version>${kotlin.version}</version> |
| 228 | + <executions> |
| 229 | + <execution> |
| 230 | + <id>test-compile</id> |
| 231 | + <goals> <goal>test-compile</goal> </goals> |
| 232 | + <configuration> |
| 233 | + <sourceDirs> |
| 234 | + <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> |
| 235 | + <sourceDir>${project.basedir}/src/test/java</sourceDir> |
| 236 | + </sourceDirs> |
| 237 | + </configuration> |
| 238 | + </execution> |
| 239 | + </executions> |
| 240 | + </plugin> |
214 | 241 | <plugin>
|
215 | 242 | <groupId>org.apache.maven.plugins</groupId>
|
216 | 243 | <artifactId>maven-compiler-plugin</artifactId>
|
217 | 244 | <executions>
|
218 | 245 | <execution>
|
219 |
| - <phase>compile</phase> |
| 246 | + <id>default-testCompile</id> |
| 247 | + <phase>none</phase> |
| 248 | + </execution> |
| 249 | + <execution> |
| 250 | + <id>java-test-compile</id> |
| 251 | + <phase>test-compile</phase> |
220 | 252 | <goals>
|
221 |
| - <goal>compile</goal> |
| 253 | + <goal>testCompile</goal> |
222 | 254 | </goals>
|
223 | 255 | </execution>
|
224 | 256 | </executions>
|
|
0 commit comments