jooq-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.jooq</groupId> <artifactId>jooq-parent</artifactId> <version>3.20.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.jooq</groupId> <artifactId>jooq-parent</artifactId> <version>3.20.3</version> <packaging>pom</packaging> <name>jOOQ Parent</name> <description> jOOQ effectively combines complex SQL, typesafety, source code generation, active records, stored procedures, advanced data types, and Java in a fluent, intuitive DSL. </description> <url>https://www.jooq.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- These in-memory DBs are used by jOOQ-meta-extensions and a variety of integration tests --> <h2.version>2.3.232</h2.version> <sqlite.version>3.46.1.0</sqlite.version> <duckdb.version>1.1.1</duckdb.version> <derby.version>10.14.2.0</derby.version> <hsqldb.version>2.7.2</hsqldb.version> <!-- JDBC drivers for jOOQ-xyz-extensions modules and vendor-specific API access --> <postgres.version>42.7.5</postgres.version> <sqlserver.version>12.9.0.jre11-preview</sqlserver.version> <oracle.version>23.6.0.24.10</oracle.version> <!-- R2DBC SPI version and some matching driver versions --> <io.r2dbc.version>1.0.0.RELEASE</io.r2dbc.version> <!-- From JDK 21 onwards, this is the required version of Xtend --> <xtend.version>2.32.0</xtend.version> <!-- From JDK 11 onwards, we need to depend on the JAXB API explicitly --> <jaxb.version>4.0.1</jaxb.version> <jaxb.impl.version>4.0.4</jaxb.impl.version> <!-- Java version --> <java.version>21</java.version> <!-- Scala versions --> <scala.version>2.13.14</scala.version> <scala3.version>3.5.0</scala3.version> <!-- Kotlin versions --> <kotlin.version>1.8.0</kotlin.version> <kotlin2.version>2.0.0</kotlin2.version> <kotlinx.coroutines.version>1.7.3</kotlinx.coroutines.version> <!-- DefaultRecordMapper and jOOQ-meta-extensions can read JPA annotations --> <jakarta.persistence-api.version>3.0.0</jakarta.persistence-api.version> <!-- Examples and/or extension modules use these dependencies --> <hibernate.version>5.6.15.Final</hibernate.version> <liquibase.version>4.25.1</liquibase.version> <checkerframework.version>3.44.0</checkerframework.version> <spring.version>6.2.1</spring.version> <errorprone.version>2.36.0</errorprone.version> <testcontainers.version>1.20.4</testcontainers.version> <jackson.version>2.16.1</jackson.version> <jackson.version.databind>2.16.1</jackson.version.databind> <jetbrains.annotations.version>24.1.0</jetbrains.annotations.version> </properties> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.jooq.org/inc/LICENSE.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <developerConnection>https://github.com/jOOQ/jOOQ.git</developerConnection> <url>https://github.com/jOOQ/jOOQ.git</url> <connection>git://github.com/jOOQ/jOOQ.git</connection> </scm> <developers> <developer> <name>Data Geekery</name> <email>contact@datageekery.com</email> </developer> </developers> <issueManagement> <system>GitHub</system> <url>https://github.com/jOOQ/jOOQ/issues</url> </issueManagement> <dependencyManagement> <dependencies> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-checker</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-beans-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-jpa-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-postgres-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-reactor-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-jackson-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-codegen</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-codegen-maven</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-migrations-maven</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-meta</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-meta-extensions</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-meta-extensions-hibernate</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-meta-extensions-liquibase</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-kotlin</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-kotlin-coroutines</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <version>${jetbrains.annotations.version}</version> </dependency> <!-- R2DBC SPI and driver dependencies --> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-core</artifactId> <version>3.6.1</version> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-test</artifactId> <version>3.6.1</version> </dependency> <!-- Data binding --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version.databind}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-kotlin</artifactId> <version>${jackson.version}</version> </dependency> <!-- At the point of release 3.16, it seems not all drivers have been upgraded to 0.9.0.RELEASE yet --> <dependency> <groupId>io.r2dbc</groupId> <artifactId>r2dbc-spi</artifactId> <version>${io.r2dbc.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> <version>${kotlin.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jdk8</artifactId> <version>${kotlin.version}</version> </dependency> <!-- Needed for mapping into Kotlin data classes --> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-reflect</artifactId> <version>${kotlin.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-core</artifactId> <version>${kotlinx.coroutines.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-reactor</artifactId> <version>${kotlinx.coroutines.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-scala_3.5</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jooq</groupId> <artifactId>jooq-xtend</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.eclipse.xtend</groupId> <artifactId>org.eclipse.xtend.lib</artifactId> <version>${xtend.version}</version> </dependency> <!-- From JDK 9 onwards, the JAXB dependency needs to be made explicit --> <!-- The dependency can cause trouble in older JDKs, so it needs to be excluded from pre-java-9 builds: https://github.com/jOOQ/jOOQ/issues/7649 --> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>${jaxb.version}</version> </dependency> <!-- Optional logging dependencies --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>2.0.9</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <version>2.20.0</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.20.0</version> <scope>provided</scope> <optional>true</optional> </dependency> <!-- Optional JPA dependency --> <dependency> <groupId>jakarta.persistence</groupId> <artifactId>jakarta.persistence-api</artifactId> <version>${jakarta.persistence-api.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.10</artifactId> <version>3.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.11</artifactId> <version>3.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.12</artifactId> <version>3.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.13</artifactId> <version>3.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_3</artifactId> <version>3.2.19</version> <scope>test</scope> </dependency> <!-- Some projects will need an H2 database for testing, or to create temporary in-memory databases --> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${h2.version}</version> </dependency> <!-- Some examples require testcontainers as dependencies --> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>clickhouse</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>mariadb</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>mysql</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>postgresql</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>trino</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>yugabytedb</artifactId> <version>${testcontainers.version}</version> </dependency> <dependency> <groupId>org.firebirdsql</groupId> <artifactId>firebird-testcontainers-java</artifactId> <version>1.3.0</version> </dependency> <!-- jooq-meta-extensions and integration tests have this dependency --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core-jakarta</artifactId> <version>${hibernate.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-r2dbc</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-orm</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <!-- jooq-meta-extensions and integration tests have this dependency --> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>${liquibase.version}</version> </dependency> <!-- checker framework and error prone dependency for use with jOOQ-checker --> <dependency> <groupId>org.checkerframework</groupId> <artifactId>checker</artifactId> <version>${checkerframework.version}</version> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>${errorprone.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotation</artifactId> <version>${errorprone.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_refaster</artifactId> <version>${errorprone.version}</version> </dependency> <dependency> <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> <version>1.0-rc6</version> <optional>true</optional> </dependency> <dependency> <groupId>com.google.auto.service</groupId> <artifactId>auto-service-annotations</artifactId> <version>1.0-rc6</version> <optional>true</optional> </dependency> <!-- Maven plugin dependencies --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.9.2</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.9.2</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.8.2</version> </dependency> </dependencies> </dependencyManagement> <build> <finalName>${project.artifactId}-${project.version}</finalName> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <!-- When compilers say false, they mean true ... https://issues.apache.org/jira/browse/MCOMPILER-209 --> <useIncrementalCompilation>false</useIncrementalCompilation> <fork>true</fork> <maxmem>512m</maxmem> <meminitial>256m</meminitial> <encoding>UTF-8</encoding> <release>21</release> <!-- IntelliJ needs these https://youtrack.jetbrains.com/issue/IDEA-195472 --> <source>21</source> <target>21</target> <debug>true</debug> <debuglevel>lines,vars,source</debuglevel> <!-- [#2413] Make compiler warnings a bit more visible But don't fail (yet) --> <compilerArgs> <arg>-Xlint:varargs</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <inherited>true</inherited> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <excludeResources>true</excludeResources> <useDefaultExcludes>true</useDefaultExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <inherited>true</inherited> <executions> <execution> <id>bundle-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <maxmemory>1024</maxmemory> <encoding>UTF-8</encoding> <show>protected</show> <notree>true</notree> <!-- Explicit configuration of javadoc language to avoid defaulting to build system's configuration --> <locale>en</locale> <!-- Avoid running into Java 8's very restrictive doclint issues --> <additionalparam>-Xdoclint:none</additionalparam> <additionalOptions>-Xdoclint:none</additionalOptions> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>5.1.8</version> <!-- [#10150] Required to build on JDK 15 --> <dependencies> <dependency> <groupId>biz.aQute.bnd</groupId> <artifactId>biz.aQute.bndlib</artifactId> <version>5.1.2</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.8.2</version> <!-- Required for Java 19 --> <dependencies> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>9.6</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sql-maven-plugin</artifactId> <version>1.5</version> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring.boot.version}</version> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>4.8.1</version> <configuration> <args> <arg>-deprecation</arg> <arg>-feature</arg> </args> </configuration> </plugin> <plugin> <artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>${kotlin.version}</version> <executions> <execution> <id>compile</id> <phase>process-sources</phase> <goals> <goal>compile</goal> </goals> <configuration> <sourceDirs> <source>src/main/java</source> <source>src/main/kotlin</source> <source>src/main/resources</source> </sourceDirs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.xtend</groupId> <artifactId>xtend-maven-plugin</artifactId> <version>${xtend.version}</version> <configuration> <encoding>UTF-8</encoding> </configuration> <dependencies> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>5.0.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.0</version> <configuration> <testNGArtifactName>none:none</testNGArtifactName> </configuration> <!-- Required for Java 19 --> <dependencies> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>9.6</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <archive> <manifestEntries> <Built-By>Data Geekery GmbH</Built-By> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.jooq</groupId> <artifactId>jooq-codegen-maven</artifactId> <version>${project.version}</version> </plugin> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>8.2.1</version> <configuration> <failBuildOnCVSS>0</failBuildOnCVSS> <skipTestScope>true</skipTestScope> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> <configuration> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </build> <modules> <module>jOOQ</module> <module>jOOQ-checker</module> <module>jOOQ-beans-extensions</module> <module>jOOQ-jackson-extensions</module> <module>jOOQ-jpa-extensions</module> <module>jOOQ-postgres-extensions</module> <module>jOOQ-reactor-extensions</module> <module>jOOQ-meta</module> <module>jOOQ-meta-extensions</module> <module>jOOQ-meta-extensions-hibernate</module> <module>jOOQ-meta-extensions-liquibase</module> <module>jOOQ-meta-kotlin</module> <module>jOOQ-codegen</module> <module>jOOQ-codegen-maven</module> <module>jOOQ-migrations-maven</module> <!-- The transitive egit dependency has a Java 11 baseline --> <module>jOOQ-migrations</module> <module>jOOQ-kotlin</module> <module>jOOQ-kotlin-coroutines</module> <module>jOOQ-scala_3.5</module> <module>jOOQ-xtend</module> </modules> <profiles> <profile> <id>owasp-check</id> <build> <plugins> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> </plugin> </plugins> </reporting> </profile> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>all-modules</id> <modules> <!-- all modules which are not already listed as submodules --> </modules> </profile> <profile> <id>release-java-8</id> <build> <plugins> <!-- Validate jOOQ's JDK 1.8 API compliance --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.18</version> <executions> <execution> <phase>test</phase> <goals> <goal>check</goal> </goals> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release-java-6</id> <build> <plugins> <!-- Validate jOOQ's JDK 1.6 API compliance --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <version>1.18</version> <executions> <execution> <phase>test</phase> <goals> <goal>check</goal> </goals> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java16</artifactId> <version>1.1</version> </signature> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release-oss</id> <!-- Content from deprecated https://search.maven.org/artifact/org.sonatype.oss/oss-parent/9/pom --> <distributionManagement> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <!-- This is required by Maven Central --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <!-- Then, patch the robot: noindex directive into the javadoc --> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> <executions> <execution> <id>replace-apidocs-jar</id> <phase>package</phase> <goals> <goal>replace</goal> </goals> <configuration> <!-- The third party won't comply: https://github.com/maxcellent/javadoc.io/issues/105 --> <ignoreErrors>true</ignoreErrors> <basedir>${project.build.directory}/apidocs</basedir> <includes> <include>**/*.html</include> </includes> <replacements> <replacement> <token><![CDATA[</head>]]></token> <value><![CDATA[ <meta name="robots" content="noindex"> <link rel="canonical" href="https://www.jooq.org/javadoc/latest"> </head> ]]></value> </replacement> </replacements> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>repack</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <delete file="${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar"/> <mkdir dir="${project.build.directory}/apidocs"/> <zip basedir="${project.build.directory}/apidocs" destfile="${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar"/> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>