2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-10 10:36:48 -04: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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-jooq</artifactId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<name>spring-jooq</name>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<artifactId>parent-boot-2</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2021-01-09 02:29:21 -05:00
|
|
|
<relativePath>../../parent-boot-2</relativePath>
|
2019-10-31 21:43:47 -04:00
|
|
|
</parent>
|
|
|
|
|
2019-12-05 09:56:52 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<!-- Import dependency management from Spring Boot -->
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- jOOQ -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq</artifactId>
|
2020-09-01 10:49:22 -04:00
|
|
|
<version>${org.jooq.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- Database Access -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2020-02-29 15:35:23 -05:00
|
|
|
<version>${h2.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jooq</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2020-07-07 07:18:10 -04:00
|
|
|
<!-- Because we couldn't cope with multiple concurrent H2 instances -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>0</forkCount>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>${properties-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>read-project-properties</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<files>
|
|
|
|
<file>src/main/resources/intro_config.properties</file>
|
|
|
|
</files>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sql-maven-plugin</artifactId>
|
|
|
|
<version>${sql-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<driver>${db.driver}</driver>
|
|
|
|
<url>${db.url}</url>
|
|
|
|
<username>${db.username}</username>
|
|
|
|
<password>${db.password}</password>
|
|
|
|
<srcFiles>
|
|
|
|
<srcFile>src/main/resources/intro_schema.sql</srcFile>
|
|
|
|
</srcFiles>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
|
|
<version>${org.jooq.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<jdbc>
|
|
|
|
<driver>${db.driver}</driver>
|
|
|
|
<url>${db.url}</url>
|
|
|
|
<user>${db.username}</user>
|
|
|
|
<password>${db.password}</password>
|
|
|
|
</jdbc>
|
|
|
|
<generator>
|
|
|
|
<target>
|
|
|
|
<packageName>com.baeldung.jooq.introduction.db</packageName>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
</target>
|
2019-12-05 09:56:52 -05:00
|
|
|
<database>
|
2019-10-31 21:43:47 -04:00
|
|
|
<inputCatalog></inputCatalog>
|
|
|
|
</database>
|
|
|
|
</generator>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2021-05-10 10:36:48 -04:00
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no
|
|
|
|
influence on the Maven build itself. -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>${lifecycle-mapping.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>
|
|
|
|
jooq-codegen-maven
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[3.7.3,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2022-05-09 02:45:22 -04:00
|
|
|
<org.jooq.version>3.14.15</org.jooq.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
|
|
|
|
<sql-maven-plugin.version>1.5</sql-maven-plugin.version>
|
|
|
|
<properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
|
2020-10-21 04:05:24 -04:00
|
|
|
<h2.version>1.4.198</h2.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|