4.0.0 org.springframework.boot spring-boot-starter-parent 1.2.3.RELEASE org.jooq jooq-spring-boot-example ${org.jooq.version} jar jOOQ Spring Boot Example Apache License, Version 2.0 http://www.jooq.org/inc/LICENSE.txt repo UTF-8 org.jooq.example.spring.Application 3.5.4 1.8 org.springframework.boot spring-boot-starter-jdbc org.jooq jooq ${org.jooq.version} com.h2database h2 org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-maven-plugin org.codehaus.mojo properties-maven-plugin 1.0-alpha-2 initialize read-project-properties src/main/resources/application.properties org.codehaus.mojo sql-maven-plugin 1.5 ${maven.test.skip} always create-database-h2 generate-sources execute ${spring.datasource.driverClassName} ${spring.datasource.url} ${spring.datasource.username} ${spring.datasource.password} true src/main/resources/schema-h2.sql src/main/resources/data-h2.sql com.h2database h2 ${h2.version} org.jooq jooq-codegen-maven ${org.jooq.version} generate-h2 generate-sources generate ${spring.datasource.driverClassName} ${spring.datasource.url} ${spring.datasource.username} ${spring.datasource.password} org.jooq.util.DefaultGenerator org.jooq.util.h2.H2Database .* true PUBLIC false true true org.jooq.example.db.h2 target/generated-sources/jooq-h2 com.h2database h2 ${h2.version}