2017-07-31 08:43:36 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-12-28 05:21:11 -05:00
|
|
|
<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">
|
2017-07-31 08:43:36 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<artifactId>libraries-data</artifactId>
|
|
|
|
<name>libraries-data</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.esotericsoftware</groupId>
|
|
|
|
<artifactId>kryo</artifactId>
|
|
|
|
<version>${kryo.version}</version>
|
2017-08-23 04:53:21 -04:00
|
|
|
</dependency>
|
2017-12-28 05:21:11 -05:00
|
|
|
<dependency>
|
2017-08-23 04:53:21 -04:00
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
2017-12-28 05:21:11 -05:00
|
|
|
<dependency>
|
2017-08-23 04:53:21 -04:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-12-28 05:21:11 -05:00
|
|
|
<dependency>
|
2017-08-23 04:53:21 -04:00
|
|
|
<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>
|
2017-07-31 08:43:36 -04:00
|
|
|
</dependency>
|
2017-10-10 03:54:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.j256.ormlite</groupId>
|
|
|
|
<artifactId>ormlite-jdbc</artifactId>
|
|
|
|
<version>${ormlite.version}</version>
|
|
|
|
</dependency>
|
2017-12-28 05:21:11 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-streams</artifactId>
|
|
|
|
<version>${kafka.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
<version>${kafka.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
<version>${kafka.version}</version>
|
|
|
|
<classifier>test</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-07-31 08:43:36 -04:00
|
|
|
</dependencies>
|
2017-12-28 05:21:11 -05:00
|
|
|
|
2017-08-23 04:53:21 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Reladomo -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generateMithra</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2017-12-28 05:21:11 -05:00
|
|
|
<property name="plugin_classpath" refid="maven.plugin.classpath"/>
|
2017-08-23 04:53:21 -04:00
|
|
|
<taskdef name="gen-reladomo" classpath="plugin_classpath"
|
2017-12-28 05:21:11 -05:00
|
|
|
classname="com.gs.fw.common.mithra.generator.MithraGenerator"/>
|
2017-08-23 04:53:21 -04:00
|
|
|
<gen-reladomo
|
2017-12-28 05:21:11 -05:00
|
|
|
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
|
|
|
|
generateGscListMethod="true"
|
|
|
|
generatedDir="${project.build.directory}/generated-sources/reladomo"
|
|
|
|
nonGeneratedDir="${project.basedir}/src/main/java"/>
|
2017-08-23 04:53:21 -04:00
|
|
|
|
|
|
|
<taskdef name="gen-ddl"
|
2017-12-28 05:21:11 -05:00
|
|
|
classname="com.gs.fw.common.mithra.generator.dbgenerator.MithraDbDefinitionGenerator"
|
|
|
|
loaderRef="reladomoGenerator">
|
|
|
|
<classpath refid="maven.plugin.classpath"/>
|
2017-08-23 04:53:21 -04:00
|
|
|
</taskdef>
|
|
|
|
<gen-ddl
|
2017-12-28 05:21:11 -05:00
|
|
|
xml="${project.basedir}/src/main/resources/reladomo/ReladomoClassList.xml"
|
|
|
|
generatedDir="${project.build.directory}/generated-db/sql"
|
|
|
|
databaseType="postgres"/>
|
2017-08-23 04:53:21 -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>3.0.0</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-->
|
2017-12-28 05:21:11 -05:00
|
|
|
|
2017-08-23 04:53:21 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2017-12-28 05:21:11 -05:00
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>Apache Staging</id>
|
|
|
|
<url>https://repository.apache.org/content/groups/staging</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2017-07-31 08:43:36 -04:00
|
|
|
<properties>
|
|
|
|
<kryo.version>4.0.1</kryo.version>
|
2017-08-23 04:53:21 -04:00
|
|
|
<h2.version>1.4.196</h2.version>
|
|
|
|
<reladomo.version>16.5.1</reladomo.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<maven-compiler-plugin.version>3.6.2</maven-compiler-plugin.version>
|
2017-10-10 03:54:15 -04:00
|
|
|
<ormlite.version>5.0</ormlite.version>
|
2017-12-28 05:21:11 -05:00
|
|
|
<kafka.version>1.0.0</kafka.version>
|
2017-07-31 08:43:36 -04:00
|
|
|
</properties>
|
|
|
|
</project>
|