2016-03-26 00:40:17 -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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>jooq-spring</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
2016-06-07 11:21:06 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<!-- Import dependency management from Spring Boot -->
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
2016-06-23 03:11:56 -04:00
|
|
|
<version>1.3.5.RELEASE</version>
|
2016-06-07 11:21:06 -04:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2016-03-26 00:40:17 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- jOOQ -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq</artifactId>
|
|
|
|
<version>${org.jooq.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Database Access -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${com.h2database.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
</dependency>
|
2016-06-07 11:21:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jooq</artifactId>
|
|
|
|
</dependency>
|
2016-03-26 00:40:17 -04:00
|
|
|
|
|
|
|
<!-- Logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2016-06-23 03:11:56 -04:00
|
|
|
</dependency>
|
2016-03-26 00:40:17 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0</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>1.5</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>${com.h2database.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>
|
2016-03-28 07:03:56 -04:00
|
|
|
<directory>src/main/java</directory>
|
2016-03-26 00:40:17 -04:00
|
|
|
</target>
|
|
|
|
</generator>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-06-23 03:11:56 -04:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2016-10-21 08:02:01 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-03-26 00:40:17 -04:00
|
|
|
</plugins>
|
2016-10-31 16:48:24 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</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>
|
2016-03-26 00:40:17 -04:00
|
|
|
</build>
|
2016-06-23 03:11:56 -04:00
|
|
|
|
2016-10-21 08:02:01 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2016-06-23 03:11:56 -04:00
|
|
|
<properties>
|
|
|
|
<org.jooq.version>3.7.3</org.jooq.version>
|
|
|
|
<com.h2database.version>1.4.191</com.h2database.version>
|
|
|
|
<org.springframework.version>4.2.5.RELEASE</org.springframework.version>
|
|
|
|
<org.slf4j.version>1.7.18</org.slf4j.version>
|
|
|
|
<ch.qos.logback.version>1.1.3</ch.qos.logback.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
|
|
|
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
2016-10-21 08:02:01 -04:00
|
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
2016-06-23 03:11:56 -04:00
|
|
|
</properties>
|
|
|
|
|
2016-03-26 00:40:17 -04:00
|
|
|
</project>
|