标签:director 3.2 conf geeks http org generator class pass
https://www.javacodegeeks.com/2014/02/using-jooq-with-spring-code-generation.html
<plugin> <groupId>org.jooq</groupId> <artifactId>jooq-codegen-maven</artifactId> <version>3.2.2</version> <executions> <execution> <id>generate-h2</id> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${h2.version}</version> </dependency> </dependencies> <configuration> <jdbc> <driver>${db.driver}</driver> <url>${db.url}</url> <user>${db.username}</user> <password>${db.password}</password> </jdbc> <generator> <database> <name>${jooq.generator.db.dialect}</name> <includes>.*</includes> <excludes></excludes> <inputSchema>PUBLIC</inputSchema> </database> <generate> <records>true</records> </generate> <target> <packageName>net.petrikainulainen.spring.jooq.todo.db</packageName> <directory>target/generated-sources/jooq</directory> </target> </generator> </configuration> </plugin>
标签:director 3.2 conf geeks http org generator class pass
原文地址:http://www.cnblogs.com/jpit/p/7777492.html