| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <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>metastore-parent</artifactId> |
| <groupId>org.apache.drill.metastore</groupId> |
| <version>1.22.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>drill-rdbms-metastore</artifactId> |
| <name>Drill : Metastore : RDBMS</name> |
| |
| <properties> |
| <jooq.version>3.13.1</jooq.version> |
| <liquibase.version>4.19.1</liquibase.version> |
| <sqlite.version>3.41.2.2</sqlite.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.drill</groupId> |
| <artifactId>drill-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.drill.metastore</groupId> |
| <artifactId>drill-metastore-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.zaxxer</groupId> |
| <artifactId>HikariCP</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.liquibase</groupId> |
| <artifactId>liquibase-core</artifactId> |
| <version>${liquibase.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jooq</groupId> |
| <artifactId>jooq</artifactId> |
| <version>${jooq.version}</version> |
| </dependency> |
| |
| <!-- Is needed to allow yaml parsing in JOOQ --> |
| <dependency> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>${sqlite.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.drill.metastore</groupId> |
| <artifactId>drill-metastore-api</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- Generates JOOQ classes based on Liquibase file --> |
| <plugin> |
| <groupId>org.jooq</groupId> |
| <artifactId>jooq-codegen-maven</artifactId> |
| <version>${jooq.version}</version> |
| |
| <!-- The plugin should hook into the generate goal --> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jooq</groupId> |
| <artifactId>jooq-meta-extensions</artifactId> |
| <version>${jooq.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <configuration> |
| <generator> |
| <database> |
| <name>org.jooq.meta.extensions.liquibase.LiquibaseDatabase</name> |
| <properties> |
| <property> |
| <key>scripts</key> |
| <!-- |
| Replace with <value>db/changelog/changelog.yaml</value> |
| when JOOQ 3.13.2 is released, see https://github.com/jOOQ/jOOQ/issues/9866 |
| --> |
| <value>${project.basedir}/src/main/resources/db/changelog/changes/initial_ddls.yaml</value> |
| </property> |
| <property> |
| <key>includeLiquibaseTables</key> |
| <value>false</value> |
| </property> |
| </properties> |
| </database> |
| </generator> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |