1 回答

TA貢獻(xiàn)1873條經(jīng)驗 獲得超9個贊
使用 Maven 多次執(zhí)行 jOOQ 代碼生成器插件的方式與使用任何 Maven 插件的方式相同。通過指定多個執(zhí)行:
<plugin>
<groupId>org.jooq.trial</groupId>
<artifactId>jooq-codegen-maven</artifactId>
<version>3.11.4</version>
<executions>
<execution>
<id>exec-1</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>...</configuration>
</execution>
<execution>
<id>exec-2</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>...</configuration>
</execution>
</executions>
</plugin>
各個執(zhí)行是完全獨立的,并且每個都有自己的配置。
添加回答
舉報