2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-09 06:56:44 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>libraries-data-db</artifactId>
|
|
|
|
<name>libraries-data-db</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2024-01-21 15:58:15 -05:00
|
|
|
<artifactId>parent-boot-3</artifactId>
|
2021-04-04 12:08:07 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2024-01-21 15:58:15 -05:00
|
|
|
<relativePath>../parent-boot-3</relativePath>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.goldmansachs.reladomo</groupId>
|
|
|
|
<artifactId>reladomo</artifactId>
|
|
|
|
<version>${reladomo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.goldmansachs.reladomo</groupId>
|
|
|
|
<artifactId>reladomo-test-util</artifactId>
|
|
|
|
<version>${reladomo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.j256.ormlite</groupId>
|
|
|
|
<artifactId>ormlite-jdbc</artifactId>
|
|
|
|
<version>${ormlite.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- JDO -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>javax.jdo</artifactId>
|
|
|
|
<version>${javax.jdo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-core</artifactId>
|
|
|
|
<version>${datanucleus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-api-jdo</artifactId>
|
2023-03-27 12:15:24 -04:00
|
|
|
<version>${datanucleus-api.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-rdbms</artifactId>
|
|
|
|
<version>${datanucleus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-maven-plugin</artifactId>
|
|
|
|
<version>${datanucleus-maven-plugin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-jdo-query</artifactId>
|
|
|
|
<version>${datanucleus-jdo-query.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Hikari CP -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
<version>${HikariCP.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- ebean -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.ebean</groupId>
|
|
|
|
<artifactId>ebean</artifactId>
|
|
|
|
<version>${ebean.version}</version>
|
2021-04-04 12:08:07 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- Debezium -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.debezium</groupId>
|
|
|
|
<artifactId>debezium-api</artifactId>
|
|
|
|
<version>${debezium.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.debezium</groupId>
|
|
|
|
<artifactId>debezium-embedded</artifactId>
|
|
|
|
<version>${debezium.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.debezium</groupId>
|
|
|
|
<artifactId>debezium-connector-mysql</artifactId>
|
|
|
|
<version>${debezium.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
|
|
|
<version>${testcontainers-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>mysql</artifactId>
|
|
|
|
<version>${testcontainers-version}</version>
|
|
|
|
</dependency>
|
2023-04-24 22:41:48 -04:00
|
|
|
<!-- flexypool -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vladmihalcea.flexy-pool</groupId>
|
|
|
|
<artifactId>flexy-micrometer-metrics</artifactId>
|
|
|
|
<version>${flexy-pool.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.vladmihalcea.flexy-pool</groupId>
|
|
|
|
<artifactId>flexy-hikaricp</artifactId>
|
|
|
|
<version>${flexy-pool.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.vladmihalcea.flexy-pool</groupId>
|
|
|
|
<artifactId>flexy-dropwizard-metrics</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2021-05-09 06:56:44 -04:00
|
|
|
<!-- Spring Core dependencies -->
|
2021-04-04 12:08:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Spring Data JPA, crud repository -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- MySQL -->
|
|
|
|
<dependency>
|
2023-02-17 11:47:01 -05:00
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2021-04-04 12:08:07 -04:00
|
|
|
</dependency>
|
2021-05-09 06:56:44 -04:00
|
|
|
<!-- Utility dependencies -->
|
2021-04-04 12:08:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2023-12-03 14:19:12 -05:00
|
|
|
<version>${lombok.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2023-03-27 12:15:24 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.ebean</groupId>
|
|
|
|
<artifactId>ebean-api</artifactId>
|
|
|
|
<version>${ebean.version}</version>
|
|
|
|
</dependency>
|
2024-01-21 15:58:15 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
<version>${jakarta.xml.bind.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>libraries-data-db</finalName>
|
|
|
|
<plugins>
|
|
|
|
<!-- Reladomo -->
|
|
|
|
<plugin>
|
2023-04-24 22:41:48 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>${maven-antrun-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generateMithra</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2021-05-09 06:56:44 -04:00
|
|
|
<property name="plugin_classpath"
|
2023-05-23 12:32:15 -04:00
|
|
|
refid="maven.plugin.classpath"/>
|
2021-05-09 06:56:44 -04:00
|
|
|
<taskdef name="gen-reladomo" classpath="plugin_classpath"
|
2023-05-23 12:32:15 -04:00
|
|
|
classname="com.gs.fw.common.mithra.generator.MithraGenerator"/>
|
2021-05-09 06:56:44 -04:00
|
|
|
<gen-reladomo
|
|
|
|
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
|
|
|
|
generatedDir="${project.build.directory}/generated-sources/reladomo"
|
2023-05-23 12:32:15 -04:00
|
|
|
nonGeneratedDir="${project.basedir}/src/main/java"/>
|
2021-05-09 06:56:44 -04:00
|
|
|
<taskdef name="gen-ddl"
|
|
|
|
classname="com.gs.fw.common.mithra.generator.dbgenerator.MithraDbDefinitionGenerator"
|
|
|
|
loaderRef="reladomoGenerator">
|
2023-05-23 12:32:15 -04:00
|
|
|
<classpath refid="maven.plugin.classpath"/>
|
2019-10-31 21:43:47 -04:00
|
|
|
</taskdef>
|
2021-05-09 06:56:44 -04:00
|
|
|
<gen-ddl
|
|
|
|
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
|
|
|
|
generatedDir="${project.build.directory}/generated-db/sql"
|
2023-05-23 12:32:15 -04:00
|
|
|
databaseType="postgres"/>
|
2019-10-31 21:43:47 -04:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.goldmansachs.reladomo</groupId>
|
|
|
|
<artifactId>reladomogen</artifactId>
|
|
|
|
<version>${reladomo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.goldmansachs.reladomo</groupId>
|
|
|
|
<artifactId>reladomo-gen-util</artifactId>
|
|
|
|
<version>${reladomo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>${build-helper-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.build.directory}/generated-sources/reladomo</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>add-resource</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-resource</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.build.directory}/generated-db/</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- /Reladomo -->
|
|
|
|
<!-- JDO Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.datanucleus</groupId>
|
|
|
|
<artifactId>datanucleus-maven-plugin</artifactId>
|
|
|
|
<version>${datanucleus-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<api>JDO</api>
|
|
|
|
<props>${basedir}/datanucleus.properties</props>
|
|
|
|
<log4jConfiguration>${basedir}/log4j.properties</log4jConfiguration>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<fork>false</fork>
|
|
|
|
<!-- Solve windows line too long error -->
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enhance</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.ebean</groupId>
|
|
|
|
<artifactId>ebean-maven-plugin</artifactId>
|
2020-01-15 15:23:26 -05:00
|
|
|
<version>${ebean.plugin.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<executions>
|
|
|
|
<!-- enhance main classes -->
|
|
|
|
<execution>
|
|
|
|
<id>main</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<configuration>
|
|
|
|
<transformArgs>debug=1</transformArgs>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>enhance</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2024-01-21 15:58:15 -05:00
|
|
|
<ebean.plugin.version>13.25.2</ebean.plugin.version>
|
2022-08-25 12:00:13 -04:00
|
|
|
<reladomo.version>18.1.0</reladomo.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
|
|
|
|
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
|
2023-03-27 12:15:24 -04:00
|
|
|
<ormlite.version>6.1</ormlite.version>
|
2024-01-21 15:58:15 -05:00
|
|
|
<datanucleus.version>6.0.6</datanucleus.version>
|
2023-03-27 12:15:24 -04:00
|
|
|
<datanucleus-api.version>6.0.1</datanucleus-api.version>
|
|
|
|
<datanucleus-maven-plugin.version>6.0.0-release</datanucleus-maven-plugin.version>
|
|
|
|
<datanucleus-jdo-query.version>6.0.1</datanucleus-jdo-query.version>
|
|
|
|
<javax.jdo.version>3.2.1</javax.jdo.version>
|
2023-12-08 07:45:59 -05:00
|
|
|
<HikariCP.version>5.1.0</HikariCP.version>
|
2023-03-27 12:15:24 -04:00
|
|
|
<ebean.version>13.15.2</ebean.version>
|
2024-01-21 15:58:15 -05:00
|
|
|
<debezium.version>2.5.0.Final</debezium.version>
|
2023-04-24 22:41:48 -04:00
|
|
|
<flexy-pool.version>2.2.3</flexy-pool.version>
|
2024-01-21 15:58:15 -05:00
|
|
|
<testcontainers-version>1.19.3</testcontainers-version>
|
2023-12-21 03:30:26 -05:00
|
|
|
<mapdb.version>3.0.8</mapdb.version>
|
2024-01-21 15:58:15 -05:00
|
|
|
<jakarta.xml.bind.version>4.0.1</jakarta.xml.bind.version>
|
|
|
|
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <!-- to avoid repackaging of the jar -->
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2021-05-09 06:56:44 -04:00
|
|
|
</project>
|