67 lines
1.8 KiB
XML
67 lines
1.8 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 https://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-data-jdbc-jooq</artifactId>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data.examples</groupId>
|
|
<artifactId>spring-data-jdbc-examples</artifactId>
|
|
<version>2.0.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<name>Spring Data JDBC - Usage with jOOQ</name>
|
|
<description>Sample project demonstrating Spring Data JDBC features</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jooq</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-meta-extensions</artifactId>
|
|
<version>${jooq.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
|
|
<configuration>
|
|
<generator>
|
|
<database>
|
|
<name>org.jooq.meta.extensions.ddl.DDLDatabase</name>
|
|
<properties>
|
|
<property>
|
|
<key>scripts</key>
|
|
<value>${basedir}/src/main/resources/schema.sql</value>
|
|
</property>
|
|
</properties>
|
|
</database>
|
|
<target>
|
|
<packageName>example.springdata.jdbc.basics.simpleentity.domain</packageName>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|