mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
390 lines
11 KiB
XML
390 lines
11 KiB
XML
<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>ebean-parent</artifactId>
|
|
<groupId>io.ebean</groupId>
|
|
<version>12.7.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>ebean-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>ebean core</name>
|
|
<description>ebean core module</description>
|
|
<url>https://ebean.io/</url>
|
|
|
|
<scm>
|
|
<developerConnection>scm:git:git@github.com:ebean-orm/ebean.git</developerConnection>
|
|
<tag>ebean-parent-12.6.5</tag>
|
|
</scm>
|
|
|
|
<properties>
|
|
<jackson-core.version>2.11.3</jackson-core.version>
|
|
<jackson-databind.version>2.11.3</jackson-databind.version>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- Note: to use this profile, you need to download manually the db2jcc4 driver.
|
|
After that, install it into your local maven repository:
|
|
|
|
mvn install:install-file \
|
|
-Dfile=db2jcc4.jar \
|
|
-DgroupId=com.ibm.jdbc \
|
|
-DartifactId=db2jcc4 \
|
|
-Dversion=4.23.42 \
|
|
-Dpackaging=jar
|
|
-->
|
|
<id>db2</id>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.ibm.jdbc</groupId>
|
|
<artifactId>db2jcc4</artifactId>
|
|
<version>4.23.42</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-ddl-runner</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.avaje</groupId>
|
|
<artifactId>classpath-scanner</artifactId>
|
|
<version>4.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-migration-auto</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
|
|
<!-- keep testing in core using ebean-ddl-generator & ebean-migration -->
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-migration</artifactId>
|
|
<version>12.4.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-ddl-generator</artifactId>
|
|
<version>12.6.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- test scope for supporting ebean-ddl-generator -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<version>2.3.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-api</artifactId>
|
|
<version>12.7.1-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-core-type</artifactId>
|
|
<version>12.7.1-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-externalmapping-api</artifactId>
|
|
<version>12.7.1-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
<version>4.8-1</version>
|
|
</dependency>
|
|
|
|
<!--
|
|
Class retention Nonnull and Nullable annotations
|
|
to assist with IDE auto-completion with Ebean API
|
|
-->
|
|
<dependency>
|
|
<groupId>io.avaje</groupId>
|
|
<artifactId>avaje-jsr305</artifactId>
|
|
<version>1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.transaction</groupId>
|
|
<artifactId>jta</artifactId>
|
|
<version>1.1</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- validation annotations Size etc -->
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.1.0.Final</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.validation</groupId>
|
|
<artifactId>jakarta.validation-api</artifactId>
|
|
<version>3.0.0</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>2.9.7</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>1.3.2</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Jackson core used internally by Ebean -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson-core.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson-databind.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Provided scope for Postgres JSON/JSONB support -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.2.10</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Test scope -->
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-datasource</artifactId>
|
|
<version>${ebean-datasource.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.nuodb.jdbc</groupId>
|
|
<artifactId>nuodb-jdbc</artifactId>
|
|
<version>20.2.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.oracle.ojdbc</groupId>
|
|
<artifactId>ojdbc10</artifactId>
|
|
<version>19.3.0.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-test-docker</artifactId>
|
|
<version>4.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.2.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Provided scope so that the H2HistoryTrigger can live in Ebean core
|
|
and not require a separate module for it -->
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.199</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>3.15.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>2.3.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>7.2.2.jre8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.17</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>2.6.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sap.cloud.db.jdbc</groupId>
|
|
<artifactId>ngdbc</artifactId>
|
|
<version>2.3.48</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>3.0.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.avaje.composite</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.avaje</groupId>
|
|
<artifactId>mod-uuid</artifactId>
|
|
<version>1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>io.ebean</groupId>
|
|
<artifactId>ebean-maven-plugin</artifactId>
|
|
<version>12.6.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>process-test-classes</phase>
|
|
<configuration>
|
|
<transformArgs>debug=0</transformArgs>
|
|
</configuration>
|
|
<goals>
|
|
<goal>testEnhance</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M4</version>
|
|
<configuration>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
<failIfNoTests>false</failIfNoTests>
|
|
<includes>
|
|
<include>**/Test*.java</include>
|
|
<include>**/*Test.java</include>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<systemProperties>
|
|
<property>
|
|
<!-- transfer datasource.default parameter -->
|
|
<name>datasource.default</name>
|
|
<value>${datasource.default}</value>
|
|
</property>
|
|
<property>
|
|
<!-- transfer dbClockDelta parameter -->
|
|
<name>dbClockDelta</name>
|
|
<value>${dbClockDelta}</value>
|
|
</property>
|
|
</systemProperties>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<configuration>
|
|
<doctitle>Ebean 12</doctitle>
|
|
<overview>src/main/java/io/ebean/overview.html</overview>
|
|
<excludePackageNames>io.ebeaninternal.*:io.ebeanservice:io.ebean.common:io.ebean.bean:io.ebean.service:io.ebean.metric:io.ebean.util:io.ebean.config.properties:io.ebean.config.dbplatform</excludePackageNames>
|
|
<linksource>true</linksource>
|
|
<overview>src/main/java/com/avaje/ebean/overview.html</overview>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|