From e20d0e2d1a4eee07cd58bc2707f7079676fb876f Mon Sep 17 00:00:00 2001 From: lukaseder Date: Thu, 25 May 2017 11:12:51 +0200 Subject: [PATCH] [#6273] Document Maven plugin property --- .../resources/org/jooq/web/manual-3.10.xml | 58 ++++++++++++++++++- .../resources/org/jooq/web/manual-3.4.xml | 37 ++++++++++++ .../resources/org/jooq/web/manual-3.5.xml | 37 ++++++++++++ .../resources/org/jooq/web/manual-3.6.xml | 37 ++++++++++++ .../resources/org/jooq/web/manual-3.7.xml | 53 +++++++++++++++++ .../resources/org/jooq/web/manual-3.8.xml | 53 +++++++++++++++++ .../resources/org/jooq/web/manual-3.9.xml | 56 ++++++++++++++++++ 7 files changed, 330 insertions(+), 1 deletion(-) diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml index 675b79dda9..3fa0d0e656 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.10.xml @@ -17727,7 +17727,7 @@ CREATE TABLE book_to_book_store (

- XML configuration (standalone and Maven) + XML configuration (standalone and Maven)

@@ -17778,6 +17778,62 @@ CREATE TABLE book_to_book_store ( +
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +

Additional Maven-specific flags

+ +

+ There are, however, some additional, Maven-specific flags that can be specified with the jooq-codegen-maven plugin only: +

+ + + ... + + + + ${skip.jooq.generation} + + + ${externalfile} + + ... +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.4.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.4.xml index 33df74bf81..fd87f8854f 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.4.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.4.xml @@ -12201,6 +12201,43 @@ Finishing : Total: 4.814ms, +3.375ms
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.5.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.5.xml index 11fcec8409..4b358179a5 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.5.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.5.xml @@ -12647,6 +12647,43 @@ Finishing : Total: 4.814ms, +3.375ms
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml index e4055f61c9..b33de8caf6 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.6.xml @@ -15200,6 +15200,43 @@ public class Book {
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml index 1411d1117c..67e4416a08 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.7.xml @@ -15624,6 +15624,59 @@ public class Book {
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +

Additional Maven-specific flags

+ +

+ There are, however, some additional, Maven-specific flags that can be specified with the jooq-codegen-maven plugin only: +

+ + + ... + + + + ${skip.jooq.generation} + + ... +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml index 76d7b6db5d..bc88f72595 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.8.xml @@ -15897,6 +15897,59 @@ public class Book {
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +

Additional Maven-specific flags

+ +

+ There are, however, some additional, Maven-specific flags that can be specified with the jooq-codegen-maven plugin only: +

+ + + ... + + + + ${skip.jooq.generation} + + ... +]]> + +
+
+
Running the code generator with Ant diff --git a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml index 3603cac339..fd7bf27ed4 100644 --- a/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml +++ b/jOOQ-manual/src/main/resources/org/jooq/web/manual-3.9.xml @@ -17494,6 +17494,62 @@ public class Book {
+
+ Running the code generator with Maven + +

+ There is no substantial difference between running the code generator with Maven or in standalone mode. Both modes use the exact same <configuration/> element. The Maven plugin configuration adds some additional boilerplate around that: +

+ + + + + org.jooq + jooq-codegen-maven + {jooq-version} + + + + jooq-codegen + generate-sources + + generate + + + ... + + + +]]> + +

Additional Maven-specific flags

+ +

+ There are, however, some additional, Maven-specific flags that can be specified with the jooq-codegen-maven plugin only: +

+ + + ... + + + + ${skip.jooq.generation} + + + ${externalfile} + + ... +]]> + +
+
+
Running the code generator with Ant