mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
- For the case where entity beans implement an interface - Adds these expressions to the "associated" querybeans (not the root querybeans). - The expressions added use of the interface type
132 lines
3.8 KiB
XML
132 lines
3.8 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>13.13.2</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>13.13.0</ebean-maven-plugin.version>
|
|
<kotlin.version>1.6.0</kotlin.version>
|
|
<jackson.version>2.12.1</jackson.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean</artifactId>
|
|
<version>13.13.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.avaje</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-test</artifactId>
|
|
<version>13.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-core</artifactId>
|
|
<version>13.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.2.10</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</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>
|
|
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<jvmTarget>11</jvmTarget>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<!-- <execution>-->
|
|
<!-- <id>test-kapt</id>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>test-kapt</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <sourceDirs>-->
|
|
<!-- <sourceDir>src/test/kotlin</sourceDir>-->
|
|
<!-- </sourceDirs>-->
|
|
<!-- <annotationProcessorPaths>-->
|
|
<!-- <annotationProcessorPath>-->
|
|
<!-- <groupId>io.ebean</groupId>-->
|
|
<!-- <artifactId>kotlin-querybean-generator</artifactId>-->
|
|
<!-- <version>13.13.2</version>-->
|
|
<!-- </annotationProcessorPath>-->
|
|
<!-- </annotationProcessorPaths>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-maven-plugin</artifactId>
|
|
<version>${ebean-maven-plugin.version}</version>
|
|
<executions>
|
|
<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>
|