mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
181 lines
5.3 KiB
XML
181 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>
|
|
<parent>
|
|
<artifactId>tests</artifactId>
|
|
<groupId>io.ebean</groupId>
|
|
<version>14.1.0</version>
|
|
</parent>
|
|
|
|
<artifactId>test-kotlin</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<ebean-maven-plugin.version>14.0.0</ebean-maven-plugin.version>
|
|
<kotlin.version>1.9.22</kotlin.version>
|
|
<jackson.version>2.16.1</jackson.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.5.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>2.0.1.Final</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean</artifactId>
|
|
<version>14.1.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.avaje</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>1.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-test</artifactId>
|
|
<version>14.1.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<jvmTarget>${maven.compiler.target}</jvmTarget>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>kapt</id>
|
|
<goals>
|
|
<goal>kapt</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>src/main/kotlin</sourceDir>
|
|
</sourceDirs>
|
|
<annotationProcessorPaths>
|
|
<annotationProcessorPath>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>kotlin-querybean-generator</artifactId>
|
|
<!-- <artifactId>querybean-generator</artifactId>-->
|
|
<version>14.1.0</version>
|
|
</annotationProcessorPath>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<configuration>
|
|
<release>${java.release}</release>
|
|
</configuration>
|
|
<executions>
|
|
<!-- Replacing default-compile as it is treated specially by maven -->
|
|
<execution>
|
|
<id>default-compile</id>
|
|
<phase>none</phase>
|
|
<configuration/>
|
|
</execution>
|
|
<!-- Replacing default-testCompile as it is treated specially by maven -->
|
|
<execution>
|
|
<id>default-testCompile</id>
|
|
<phase>none</phase>
|
|
<configuration/>
|
|
</execution>
|
|
<execution>
|
|
<configuration/>
|
|
<id>java-compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<configuration/>
|
|
<id>java-test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-maven-plugin</artifactId>
|
|
<version>${ebean-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>main</id>
|
|
<phase>process-classes</phase>
|
|
<configuration>
|
|
<transformArgs>debug=1</transformArgs>
|
|
</configuration>
|
|
<goals>
|
|
<goal>enhance</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>process-test-classes</phase>
|
|
<configuration>
|
|
<transformArgs>debug=1</transformArgs>
|
|
</configuration>
|
|
<goals>
|
|
<goal>testEnhance</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|