90 lines
3.2 KiB
XML
90 lines
3.2 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-examples</artifactId>
|
|
<version>3.19.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>jooq-r2dbc-example</artifactId>
|
|
<name>jOOQ R2DBC Example</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
|
|
<release>17</release>
|
|
|
|
|
|
<!-- IntelliJ needs these https://youtrack.jetbrains.com/issue/IDEA-195472 -->
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>generate-postgres</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<generator>
|
|
<database>
|
|
<name>org.jooq.meta.extensions.ddl.DDLDatabase</name>
|
|
<properties>
|
|
<property>
|
|
<key>scripts</key>
|
|
<value>${basedir}/src/main/resources/db.sql</value>
|
|
</property>
|
|
</properties>
|
|
<inputSchema>R2DBC_EXAMPLE</inputSchema>
|
|
</database>
|
|
<target>
|
|
<packageName>org.jooq.example.r2dbc.db</packageName>
|
|
<directory>src/main/java</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-meta-extensions</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.r2dbc</groupId>
|
|
<artifactId>r2dbc-h2</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j2-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |