Contributing the [Gradle plugin](https://github.com/ben-manes/gradle-jooq-plugin) required, - Updating to the package names - Adding to the Maven build. The Gradle plugin dependencies piggyback on Flyway's repository, as Gradle does not officially publish the dependencies for building plugins in another build tool. - Assigning copyright This contribution is not tested due to a broader build failure in `FlashbackTable`. Note that this plugin took a simple and fast approach by leveraging Groovy's XML markeup syntax. This provided a concise extension, at the cost of flexibility to customize the plugin in multiple build scripts (e.g. subproject adding data type converters). A richer plugin should be created, but exceeded the scope of what was needed at the time of development.
76 lines
2.6 KiB
XML
76 lines
2.6 KiB
XML
<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>
|
|
|
|
<parent>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-parent</artifactId>
|
|
<version>3.2.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>jooq-codegen-gradle</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-meta</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-all</artifactId>
|
|
<version>1.8.6</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gradle</groupId>
|
|
<artifactId>gradle-core</artifactId>
|
|
<version>${version.gradle}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gradle</groupId>
|
|
<artifactId>gradle-base-services</artifactId>
|
|
<version>${version.gradle}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gradle</groupId>
|
|
<artifactId>gradle-base-services-groovy</artifactId>
|
|
<version>${version.gradle}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<sourceDirectory>src/main/groovy</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
<version>2.8.0-01</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-eclipse-batch</artifactId>
|
|
<version>1.8.6-01</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|